UDAValue: change from ::reset() to ::operator=()

This commit is contained in:
Joakim Hove
2020-03-05 10:05:02 +01:00
parent 37d31aeac0
commit f8c250be34
7 changed files with 47 additions and 46 deletions

View File

@@ -55,15 +55,14 @@ public:
template<typename T>
bool is() const;
void reset(double value);
void reset(const std::string& value);
void assert_numeric() const;
void assert_numeric(const std::string& error_msg) const;
const Dimension& get_dim() const;
bool operator==(const UDAValue& other) const;
bool operator!=(const UDAValue& other) const;
UDAValue& operator=(double value);
UDAValue& operator=(const std::string& value);
bool is_numeric() { return numeric_value; }