|
| | CommandOptionArg (const char *inOptionName, const char *inOptionLetter, const char *inDescription, bool inRequired=false, CommandOption **ppNext=&defaultCommandOptionList) |
| | CommandOptionArg contructor. More...
|
| |
| virtual | ~CommandOptionArg () |
| |
Public Member Functions inherited from ost::CommandOptionWithArg |
| | CommandOptionWithArg (const char *inOptionName, const char *inOptionLetter, const char *inDescription, OptionType inOptionType, bool inRequired=false, CommandOption **ppNext=&defaultCommandOptionList) |
| | CommandOptionWithArg contructor. More...
|
| |
| virtual | ~CommandOptionWithArg () |
| |
| virtual void | foundOption (CommandOptionParse *cop, const char *value=0) |
| |
| virtual void | foundOption (CommandOptionParse *cop, const char **value, int num) |
| |
| virtual bool | hasValue () |
| |
Public Member Functions inherited from ost::CommandOption |
| virtual | ~CommandOption () |
| | A virtual destructor just in case. More...
|
| |
| | CommandOption (const char *inOptionName, const char *inOptionLetter, const char *inDescription, OptionType inOptionType, bool inRequired=false, CommandOption **ppNext=&defaultCommandOptionList) |
| | CommandOption contructor. More...
|
| |
| virtual void | foundOption (CommandOptionParse *cop, const char *value=0) |
| | foundOption is called by the CommandOptionParse object during the parsing of the command line options. More...
|
| |
| virtual void | foundOption (CommandOptionParse *cop, const char **value, int num) |
| | foundOption is called by the CommandOptionParse object during the parsing of the command line options. More...
|
| |
| virtual void | parseDone (CommandOptionParse *cop) |
| | Once parsing of command line options is complete, this method is called. More...
|
| |
| virtual void | performTask (CommandOptionParse *cop) |
| | Once CommandOption objects have completed parsing and there are no errors they may have some specific tasks to perform. More...
|
| |
| virtual bool | hasValue () |
| | For fields with the required flag set, this method is used to determine if the Option has satisfied it's required status. More...
|
| |
Class for options with an argument e.g.
–option value .
- Examples
- cmdlineopt.cpp.