41 template<
class T>
class Vector;
82 {
return ostreamChoice (std::cerr, descriptiveText, choices); }
90 {
return ostreamChoice (std::cout, descriptiveText, choices); }
96 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.
std::vector< double > Vector
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.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.