#include <cmdoptns.h>
Inheritance diagram for CommandOptionWithArg:

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) | |
| 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 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 pp_next.
|
|
|
|
|
|
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.
|
1.2.5 written by Dimitri van Heesch,
© 1997-2001