Inheritance diagram for sword::CommandLineOptionBase:

Public Methods | |
| CommandLineOptionBase (CommandLineManager &manager, char shortName, const std::string &longName, const std::string &help, bool acceptValue, bool acceptMultiple) | |
| Default constructor. | |
| bool | isSet () const |
| has this option been set | |
Protected Methods | |
| void | print_ (std::ostream &os, size_t ll) const |
| virtual void | push_ (const std::string &value)=0 |
| virtual void | toggle_ (bool onOff)=0 |
Protected Attributes | |
| char | shortName_ |
| std::string | longName_ |
| std::string | help_ |
| bool | acceptValue_ |
| bool | acceptMultiple_ |
| bool | gotOne_ |
| bool | used_ |
| CommandLineManager & | manager_ |
Friends | |
| class | CommandLineManager |
|
||||||||||||||||||||||||||||
|
Default constructor.
|
|
|
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. |
1.3-rc2