#include <cmdoptns.h>
Inheritance diagram for CommandOptionWithArg:
Public Member Functions | |
CommandOptionWithArg (const char *inOptionName, const char *inOptionLetter, const char *inDescription, OptionType inOptionType, bool inRequired=false, CommandOption **ppNext=&defaultCommandOptionList) | |
CommandOptionWithArg contructor. | |
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 Attributes | |
const char ** | values |
Array of list of values collected for this option. | |
int | numValue |
Number of values in the values array. |
Classes CommandOptionRest and CommandOptionArg derive from this class.
|
CommandOptionWithArg contructor. Note the default values for required and ppNext.
|
|
|
|
Reimplemented from CommandOption. |
|
Reimplemented from CommandOption. |
|
Reimplemented from CommandOption. |
|
Number of values in the values array.
|
|
Array of list of values collected for this option.
|