ost::CommandOptionWithArg(3) | Library Functions Manual | ost::CommandOptionWithArg(3) |
ost::CommandOptionWithArg - Derived class of CommandOption for options that have a value associated with them.
#include <cmdoptns.h>
Inherits ost::CommandOption.
Inherited by ost::CommandOptionArg, ost::CommandOptionCollect, and ost::CommandOptionRest.
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 ()
const char ** values
Array of list of values collected for this option. int numValue
Number of values in the values array.
Derived class of CommandOption for options that have a value associated with them.
Classes CommandOptionRest and CommandOptionArg derive from this class.
CommandOptionWithArg contructor. Note the default values for required and ppNext.
Parameters:
Reimplemented from ost::CommandOption.
Reimplemented from ost::CommandOption.
Reimplemented from ost::CommandOption.
Number of values in the values array.
Examples:
cmdlineopt.cpp.
Array of list of values collected for this option.
Examples:
cmdlineopt.cpp.
Generated automatically by Doxygen for GNU CommonC++ from the source code.
Wed Oct 31 2018 | GNU CommonC++ |