rasdaman complete source
|
#include <cmlparser.hh>
Public Member Functions | |
FlagParameter (char nShortName, const char *nLongName) throw (CmlException) | |
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) |
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 |
virtual void | reset () |
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 |
FlagParameter::FlagParameter | ( | char | nShortName, |
const char * | nLongName | ||
) | |||
throw | ( | CmlException | |
) |
|
virtual |
Implements CommandLineParameter.
|
virtual |
Implements CommandLineParameter.
|
virtual |
Implements CommandLineParameter.
|
virtual |
Implements CommandLineParameter.
|
virtual |
Implements CommandLineParameter.
|
virtual |
Implements CommandLineParameter.
|
virtual |
Implements CommandLineParameter.
|
virtual |
Implements CommandLineParameter.
|
virtual |
Implements CommandLineParameter.
|
virtual |
Implements CommandLineParameter.