|
|
Provides behaviour common to all option types. Actual options are declared using the templated Option class. The OptionParser class can be used to parse command lines.
See also: Option, OptionParser
|
Parameters:
k | comma seperated list of key aliases |
ht | the help text to be printed for this option |
c | if true then this option is compulsory |
f | one of no_argument, requires_argument, optional_argument to indicate what arguments should be supplied |
bool |
Returns: true if the option is compulsory
bool |
Returns: true if the option requires an argument
bool |
Returns: true if the option has an optional argument
bool |
Returns: true if the option has an argument at all
bool |
Returns: true if the option has been set
bool |
Returns: true if the option remains unset
bool |
const string& |
[const]
const string& |
[const]
bool |
[pure virtual]
~ |
[virtual]
bool |
[protected]
bool |
[protected]