|
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
CommandOptionWithArg Class ReferenceDerived class of CommandOption for options that have a value associated with them.
More...
#include <cmdoptns.h>
Inheritance diagram for CommandOptionWithArg:
List of all members.
Detailed Description
Derived class of CommandOption for options that have a value associated with them.
Classes CommandOptionRest and CommandOptionArg derive from this class.
Constructor & Destructor Documentation
|
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 |
|
virtual CommandOptionWithArg::~CommandOptionWithArg (
|
) [virtual]
|
|
Member Function Documentation
virtual void CommandOptionWithArg::FoundOption (
|
CommandOptionParse * cop,
|
|
const char ** value,
|
|
int num ) [virtual]
|
|
virtual void CommandOptionWithArg::FoundOption (
|
CommandOptionParse * cop,
|
|
const char * value = 0 ) [virtual]
|
|
virtual bool CommandOptionWithArg::HasValue (
|
) [virtual]
|
|
Member Data Documentation
int CommandOptionWithArg::numvalue
|
|
|
Number of values in the values array.
|
const char ** CommandOptionWithArg::values
|
|
|
Array of list of values collected for this option.
|
The documentation for this class was generated from the following file:
Generated at Fri Mar 23 10:47:55 2001 for CommonC++ by
1.2.1 written by Dimitri van Heesch,
© 1997-2000
|