|
rambrain
|
Class for config key value pairs represented by a line in a config file. More...
#include <configreader.h>
Public Member Functions | |
| configLine (const string &name, const T &value, const int matchType) | |
| Create a new config option. More... | |
| virtual | ~configLine () |
| Destructor. More... | |
| virtual void | setValue (const string &str) |
| Reset the value from a string. More... | |
| template<> | |
| void | setValue (const string &str) |
| template<> | |
| void | setValue (const string &str) |
| template<> | |
| void | setValue (const string &str) |
| template<> | |
| void | setValue (const string &str) |
| template<> | |
| void | setValue (const string &str) |
| template<> | |
| void | setValue (const string &str) |
Public Member Functions inherited from rambrain::configLineBase | |
| configLineBase (const string &name, const int matchType) | |
| Create a new config line. More... | |
| virtual | ~configLineBase () |
| Destructor. More... | |
Public Attributes | |
| T | value |
Public Attributes inherited from rambrain::configLineBase | |
| const string | name |
| const int | matchType |
Class for config key value pairs represented by a line in a config file.
Definition at line 87 of file configreader.h.
|
inline |
Create a new config option.
| name | It's name |
| value | It's starting value |
| matchType | Which type is matches against in the config file |
Definition at line 96 of file configreader.h.
|
inlinevirtual |
Destructor.
Definition at line 100 of file configreader.h.
| void rambrain::configLine< global_bytesize >::setValue | ( | const string & | str | ) |
Definition at line 35 of file configreader.cpp.
| void rambrain::configLine< bool >::setValue | ( | const string & | str | ) |
Definition at line 73 of file configreader.cpp.
| void rambrain::configLine< swapPolicy >::setValue | ( | const string & | str | ) |
Definition at line 79 of file configreader.cpp.
|
inlinevirtual |
Reset the value from a string.
| str | The string |
Implements rambrain::configLineBase.
Definition at line 106 of file configreader.h.
| void rambrain::configLine< global_bytesize >::setValue | ( | const string & | str | ) |
| void rambrain::configLine< bool >::setValue | ( | const string & | str | ) |
| void rambrain::configLine< swapPolicy >::setValue | ( | const string & | str | ) |
| T rambrain::configLine< T >::value |
Definition at line 110 of file configreader.h.