43 bool m_initialized =
false;
52 m_initialized(
false )
72 throw std::logic_error(
"The value has: " + m_name +
" has not been initialized");
87 if (m_initialized == other.m_initialized) {
89 if (m_value == other.m_value)
100 return this->
equal( rhs );
104 return !(*
this == rhs );
const char *const name
Definition: cJSON.h:258
const char *const string
Definition: cJSON.h:170
T getValue() const
Definition: Value.hpp:68
bool operator==(const Value &rhs) const
Definition: Value.hpp:99
void setValue(T value)
Definition: Value.hpp:76
Value(const std::string &name)
Definition: Value.hpp:50
bool operator!=(const Value &rhs) const
Definition: Value.hpp:103
bool equal(const Value< T > &other) const
Definition: Value.hpp:86
Value(const std::string &name, T value)
Definition: Value.hpp:56
bool hasValue() const
Definition: Value.hpp:63
#define false
Definition: msvc_stdbool.h:19
T value(details::expression_node< T > *n)
Definition: exprtk.hpp:12955