Inheritance diagram for sword::CommandLineFlag< T >:

Public Methods | |
| CommandLineFlag (CommandLineManager &manager, char shortName, const std::string &longName, const std::string &help, const T &value=T()) | |
| T | value () const |
| Get value. | |
| bool | isSet () const |
| has this option been set | |
Protected Methods | |
| virtual void | push_ (const std::string &value) |
| virtual void | toggle_ (bool onOff) |
| void | print_ (std::ostream &os, size_t ll) const |
Protected Attributes | |
| char | shortName_ |
| std::string | longName_ |
| std::string | help_ |
| bool | acceptValue_ |
| bool | acceptMultiple_ |
| bool | gotOne_ |
| bool | used_ |
| CommandLineManager & | manager_ |
|
|
has this option been set A 'false' result does not necessarily means that no value is available, as the default value can also be retrieved. |
|
|||||||||
|
Get value.
|
1.3-rc2