208 CommandLineParameter& addStringParameter(
char shortName,
const char* longName,
const char* description,
const char *newDefaultValue = NULL) throw(
CmlException);
209 CommandLineParameter& addLongParameter(
char shortName, const
char* longName, const
char* description,
long newDefaultValue = 0L ) throw(CmlException);
211 bool isPresent(
char shortName) throw(CmlException);
212 bool isPresent(const
char* longName) throw(CmlException);
214 const
char* getValueAsString(
char shortName) throw(CmlException);
215 long getValueAsLong(
char shortName) throw(CmlException);
216 double getValueAsDouble(
char shortName) throw(CmlException);
218 const
char* getValueAsString(const
char* longName) throw(CmlException);
219 long getValueAsLong(const
char* longName) throw(CmlException);
220 double getValueAsDouble(const
char* longName) throw(CmlException);
222 void processCommandLine(
int argc,
char** argv) throw(CmlException);
224 bool testProcessCommandLine(const
char* test_cml);
235 bool nextTokenIsValue;
242 void setValue(const
char* value) throw(CmlException);
244 void longNameParameter(const
char* nextToken) throw(CmlException);
246 void shortNameParameter(const
char* nextToken) throw(CmlException);
Definition: cmlparser.hh:74
Definition: cmlparser.hh:62
Definition: cmlparser.hh:187