|
| ||||||||||||||
This is the CommandOptionParse interface class. To implement this object you can call MakeCommandOptionParse(); This will instantiate a dynamically allocated version of this class and parse the command line for the list of command options that are passed in.
| ~CommandOptionParse ()
| ~CommandOptionParse |
[pure virtual]
Virtual destructor needed so that the object may be correctly deleted.
| bool ArgsHaveError ()
| ArgsHaveError |
[pure virtual]
Get the value of the error flag set if the parser encountered errors.
| const char * PrintErrors ()
| PrintErrors |
[pure virtual]
Return a string of text describing the list of errors encountered.
| const char * PrintUsage ()
| PrintUsage |
[pure virtual]
Return a string that contains the usage description of this list of paramaters.
| void RegisterError ( const char * err_msg )
| RegisterError |
[pure virtual]
Register an error with this parser. This string will be appended to the errors already buffered in this object.
| void PerformTask ()
| PerformTask |
[pure virtual]
The method should be invoked by the main code once it has determined that the application should be started.