34 #include <casacore/casa/aips.h>
35 #include <casacore/casa/Arrays/ArrayFwd.h>
36 #include <casacore/casa/BasicSL/String.h>
80 {
return ostreamChoice (std::cerr, descriptiveText, choices); }
88 {
return ostreamChoice (std::cout, descriptiveText, choices); }
94 const String& descriptiveText,
static String stdoutChoice(const String &descriptiveText, const Vector< String > &choices)
A choice function asking on stdout.
String ChoiceFunc(const String &descriptiveText, const Vector< String > &choices)
Define the signature of the choice function.
static String choice(const String &descriptiveText, const Vector< String > &choices)
Get a choice from the user.
static String stderrChoice(const String &descriptiveText, const Vector< String > &choices)
A choice function asking on stderr.
static ChoiceFunc * setChoiceFunc(ChoiceFunc *func)
Set the choice function.
static String ostreamChoice(std::ostream &, const String &descriptiveText, const Vector< String > &choices)
Ask on an ostream.
static ChoiceFunc * theirChoiceFunc
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines