49 Value(
const std::string& name) :
51 m_initialized( false )
55 Value(
const std::string& name ,T value) :
71 throw std::logic_error(
"The value has: " + m_name +
" has not been initialized");
86 if (m_initialized == other.m_initialized) {
88 if (m_value == other.m_value)
void setValue(T value)
Definition: Value.hpp:75
T getValue() const
Definition: Value.hpp:67
bool hasValue() const
Definition: Value.hpp:62
bool equal(const Value< T > &other) const
Definition: Value.hpp:85
Value(const std::string &name)
Definition: Value.hpp:49
Value(const std::string &name, T value)
Definition: Value.hpp:55