rasdaman complete source
|
#include <cmlparser.hh>
Public Member Functions | |
StringParameter (char nShortName, const char *nLongName, const char *newDefaultValue=NULL) throw (CmlException) | |
StringParameter (char nShortName, const char *nLongName, long newDefaultValue=0L) throw (CmlException) | |
~StringParameter () | |
bool | setPresent (char c) throw (CmlException) |
bool | setPresent (const char *s) throw (CmlException) |
bool | isPresent () |
bool | needsValue () |
bool | takeValue (const char *s) |
void | popValue () |
const char * | getValueAsString () throw (CmlException) |
long | getValueAsLong () throw (CmlException) |
double | getValueAsDouble () throw (CmlException) |
void | reset () |
ostream & | printStatus (ostream &=cout) |
![]() | |
virtual | ~CommandLineParameter () |
void | setDescription (const char *) |
bool | doesMatch (char c) |
bool | doesMatch (const char *s) |
char | getShortName () const |
const char * | getLongName () const |
const char * | calledName () |
ostream & | printHelp (ostream &=cout) |
Additional Inherited Members | |
![]() | |
static const char * | defaultTitle |
static const char * | descSep |
static const char * | descTab |
static const char * | descIndent |
static const char * | descLineSep |
static const char | descOpen |
static const char | descClose |
static const char * | descLeftDefault |
static const char * | descRightDefault |
![]() | |
CommandLineParameter (char newShortName, const char *newLongName, const char *newDefaultValue) throw (CmlException) | |
CommandLineParameter (char newShortName, const char *newLongName, long newDefaultValue) throw (CmlException) | |
![]() | |
char | shortName |
char * | longName |
bool | present |
bool | wasLongName |
char * | defaultValue |
char | shNameString [2] |
char * | descriptionText |
char * | paramDescription |
StringParameter::StringParameter | ( | char | nShortName, |
const char * | nLongName, | ||
const char * | newDefaultValue = NULL |
||
) | |||
throw | ( | CmlException | |
) |
StringParameter::StringParameter | ( | char | nShortName, |
const char * | nLongName, | ||
long | newDefaultValue = 0L |
||
) | |||
throw | ( | CmlException | |
) |
StringParameter::~StringParameter | ( | ) |
|
virtual |
Implements CommandLineParameter.
|
virtual |
Implements CommandLineParameter.
|
virtual |
Implements CommandLineParameter.
|
virtual |
Implements CommandLineParameter.
|
virtual |
Implements CommandLineParameter.
|
virtual |
Implements CommandLineParameter.
|
virtual |
Implements CommandLineParameter.
|
virtual |
Reimplemented from CommandLineParameter.
|
virtual |
Implements CommandLineParameter.
|
virtual |
Implements CommandLineParameter.
|
virtual |
Implements CommandLineParameter.