#include <valueParser.hpp>
Public Member Functions | |
NonEmptyDomain () | |
constructor More... | |
template<typename ValueType > | |
bool | check (const ValueType &val, string &explanation) const |
Checks if the configuration value is in the expected domain, e.g. non empty. More... | |
Public Member Functions inherited from _Wolframe::config::Parser::BaseTypeDomain | |
BaseTypeDomain () | |
Constructor. More... | |
template<typename ValueType > | |
bool | check (const ValueType &, string &) const |
Checks if the configuration value is in the expected domain. More... | |
template<typename ValueType > | |
bool | parse (ValueType &value, const string &token, string &explanation) const |
Parses the token string and maps it to its value representation. More... | |
|
inline |
constructor
|
inline |
Checks if the configuration value is in the expected domain, e.g. non empty.
ValueType | type of the value to check |
[in] | val | value to check, if its in this domain |
[out] | explanation | part of the error message in case of error explaining why it failed |
Copyright © 2014 - Project Wolframe - All Rights Reserved