#include <options.h>
Inherited by _option< T >.
Inheritance diagram for _optionbase:
Public Member Functions | |
virtual void | SetValue (std::string value)=0 |
Should parse a string (value ) and assign its value to the linked variable. | |
virtual std::string & | GetValue (std::string &value)=0 |
Should store the linked variable's value in a string (value ). | |
virtual std::string | TypeName ()=0 |
Should return a string identifying the C/C++ typename of the linked variable. | |
virtual | ~_optionbase () |
Destructor: does nothing, but is required because of virtual functions. | |
Public Attributes | |
std::string | name |
The name of this parameter. |
This provides the abstract interface to an _option object. Every parameter that will be accessed via a command line option must have: