class CommandOptionWithArg
|
Derived class of CommandOption for options that have a value associated with them. More... |
|
|
Public Methods
- CommandOptionWithArg (
const char * in_option_name,
const char * in_option_letter,
const char * in_description,
OptionType in_option_type,
bool in_required = false,
CommandOption ** pp_next = & DefaultCommandOptionList
)
- 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 Members
Derived class of CommandOption for options that have a value associated with them.
Classes CommandOptionRest and CommandOptionArg derive from this class.
const char ** values
| values |
CommandOptionWithArg (
const char * in_option_name,
const char * in_option_letter,
const char * in_description,
OptionType in_option_type,
bool in_required = false,
CommandOption ** pp_next = & DefaultCommandOptionList
)
| CommandOptionWithArg |
CommandOptionWithArg contructor. Note the default values for required and
pp_next.
Parameters:
in_option_name | long option name
|
in_option_letter | short letter name
|
in_description | short description of the option
|
in_option_type | the type of this option
|
in_required | true if option is required
|
pp_next | the linked list header
|
~CommandOptionWithArg ()
| ~CommandOptionWithArg |
[virtual]
void FoundOption ( CommandOptionParse * cop, const char * value = 0 )
| FoundOption |
[virtual]
Reimplemented from CommandOption.
void FoundOption ( CommandOptionParse * cop, const char ** value, int num )
| FoundOption |
[virtual]
Reimplemented from CommandOption.
bool HasValue ()
| HasValue |
[virtual]
Reimplemented from CommandOption.
Generated by: dyfet on home on Fri Jan 4 18:52:16 2002, using kdoc 2.0a53. |