soma-io
5.1.2
|
#include <soma-io/getopt/getopt.h>
Public Member Functions | |
SingleOption (T &value, const std::string &name, const std::string &info, bool optional) | |
virtual | ~SingleOption () |
virtual bool | recognizeName (const std::string &) |
virtual bool | feed (const std::string &) |
virtual void | check () |
std::string | info () const |
bool | recognizeName (const std::string &n) |
bool | feed (const std::string &value) |
Protected Attributes | |
T & | _value |
bool | _optional |
bool | _valueRead |
![]() | |
std::vector< std::string > | _names |
std::string | _info |
Additional Inherited Members | |
![]() | |
OptionBase (const std::string &name, const std::string &info) | |
virtual | ~OptionBase () |
void | addName (const std::string &name) |
const std::string & | name () const |
std::string | names () const |
bool | _nameInList (const std::string &name) const |
|
inline |
|
inlinevirtual |
Reimplemented in carto::SingleOption< BoolOrNumber< NumberType > >.
|
inlinevirtual |
Implements carto::OptionBase.
|
virtual |
Implements carto::OptionBase.
Reimplemented in carto::SingleOption< BoolOrNumber< NumberType > >.
|
virtual |
Implements carto::OptionBase.
|
inlinevirtual |
Implements carto::OptionBase.
Definition at line 320 of file getopt.h.
References carto::DataTypeCode< class >::name().
|
virtual |
Implements carto::OptionBase.
Reimplemented in carto::SingleOption< BoolOrNumber< NumberType > >.
|
virtual |
Implements carto::OptionBase.
|
protected |
|
protected |
|
protected |