#include <COptionList.h>
Public Member Functions | |
| COptionList () | |
| template<class T> | |
| T | Get (const std::string &name) const |
| double | GetDouble (const std::string &name) const |
| int | GetInt (const std::string &name) const |
| size_t | GetNOptions () const |
| std::string | GetOptionName (size_t idx) |
| std::string | GetOptionType (size_t idx) |
| std::string | GetString (const std::string &name) const |
| bool | HasOption (const std::string &name) const |
| COptionList | Merged (const tigl::COptionList &other) const |
| template<class T> | |
| void | Set (const std::string &name, const T &value) |
| void | SetDouble (const std::string &name, double value) |
| void | SetFromString (const std::string &name, const std::string &value) |
| void | SetInt (const std::string &name, int value) |
| void | SetString (const std::string &name, const std::string &value) |
Protected Member Functions | |
| void | AddOption (const std::string &name, const any &default_value) |
| template<class T> | |
| void | AddOption (const std::string &name, const T &default_value) |
Private Types | |
| typedef std::map< std::string, tigl::any > | OptionsMap |
Private Attributes | |
| std::vector< OptionsMap::iterator > | m_iters |
| OptionsMap | m_options |
|
private |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |