soma-io
5.0.5
|
#include <soma-io/getopt/getopt.h>
Public Member Functions | |
SingleOption (BoolOrNumber< NumberType > &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 &) |
std::string | info () const |
Public Member Functions inherited from carto::SingleOption< NumberType > | |
SingleOption (NumberType &value, const std::string &name, const std::string &info, bool optional) | |
bool | recognizeName (const std::string &n) |
bool | feed (const std::string &value) |
virtual void | check () |
std::string | info () const |
Additional Inherited Members | |
Protected Member Functions inherited from carto::OptionBase | |
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 |
Protected Attributes inherited from carto::SingleOption< NumberType > | |
NumberType & | _value |
bool | _optional |
bool | _valueRead |
Protected Attributes inherited from carto::OptionBase | |
std::vector< std::string > | _names |
std::string | _info |
|
inline |
|
inlinevirtual |
Reimplemented from carto::SingleOption< NumberType >.
Definition at line 393 of file getopt.h.
References carto::SingleOption< T >::recognizeName().
|
virtual |
Reimplemented from carto::SingleOption< NumberType >.
Definition at line 413 of file getopt.h.
References carto::SingleOption< T >::_value, and carto::SingleOption< T >::_valueRead.
|
inlinevirtual |
Implements carto::OptionBase.
Definition at line 431 of file getopt.h.
References carto::OptionBase::_info, carto::DataTypeCode< class >::name(), and carto::OptionBase::names().
|
virtual |
Reimplemented from carto::SingleOption< NumberType >.
Definition at line 398 of file getopt.h.
References carto::OptionBase::_nameInList(), carto::SingleOption< T >::_value, and carto::SingleOption< T >::_valueRead.