Describes the value domain of a boolean value as enumeration of all possible values.
More...
#include <valueParser.hpp>
|
static const char ** | booleanEnum () |
| returns the accepted string representations of a boolean More...
|
|
static bool | getBooleanValue (unsigned int booleanEnumIdx) |
| Returns the boolean value of an accepted token. More...
|
|
Describes the value domain of a boolean value as enumeration of all possible values.
_Wolframe::config::Parser::BoolDomain::BoolDomain |
( |
| ) |
|
|
inline |
static const char** _Wolframe::config::Parser::BoolDomain::booleanEnum |
( |
| ) |
|
|
inlinestaticprivate |
returns the accepted string representations of a boolean
- Returns
- enumeration of valid boolean values
static bool _Wolframe::config::Parser::BoolDomain::getBooleanValue |
( |
unsigned int |
booleanEnumIdx | ) |
|
|
inlinestaticprivate |
Returns the boolean value of an accepted token.
- Parameters
-
bool _Wolframe::config::Parser::BoolDomain::parse |
( |
bool & |
value, |
|
|
const string & |
token, |
|
|
string & |
explanation |
|
) |
| const |
|
inline |
Parses a boolean value.
- Parameters
-
[out] | value | parsed value returned |
[in] | token | token string to parse |
[out] | explanation | error string that will be part of the log message |
The documentation for this class was generated from the following file: