80 {
return ostreamChoice (std::cerr, descriptiveText, choices); }
88 {
return ostreamChoice (std::cout, descriptiveText, choices); }
94 const String& descriptiveText,
A 1-D Specialization of the Array class.
static String ostreamChoice(std::ostream &, const String &descriptiveText, const Vector< String > &choices)
Ask on an ostream.
static ChoiceFunc * theirChoiceFunc
static String stdoutChoice(const String &descriptiveText, const Vector< String > &choices)
A choice function asking on stdout.
Class to ask a user a choice.
static String stderrChoice(const String &descriptiveText, const Vector< String > &choices)
A choice function asking on stderr.
String ChoiceFunc(const String &descriptiveText, const Vector< String > &choices)
Define the signature of the choice function.
static ChoiceFunc * setChoiceFunc(ChoiceFunc *func)
Set the choice function.
static String choice(const String &descriptiveText, const Vector< String > &choices)
Get a choice from the user.
String: the storage and methods of handling collections of characters.