28 #include <opm/parser/eclipse/Units/Dimension.hpp>
36 explicit UDAValue(
const std::string&);
48 UDAValue& operator=(
double value) =
delete;
49 UDAValue& operator=(
const std::string& value) =
delete;
50 void update(
double d);
51 void update(
const std::string& s);
52 void update_value(
const UDAValue& other);
71 double epsilonLimit()
const;
76 void assert_numeric()
const;
77 void assert_numeric(
const std::string& error_msg)
const;
80 bool operator==(
const UDAValue& other)
const;
81 bool operator!=(
const UDAValue& other)
const;
83 bool is_numeric() {
return numeric_value; }
85 template<
class Serializer>
88 serializer(numeric_value);
89 serializer(double_value);
90 serializer(string_value);
91 dim.serializeOp(serializer);
97 std::string string_value;
102 std::ostream& operator<<( std::ostream& stream,
const UDAValue& uda_value );
Definition: Dimension.hpp:27
Definition: Serializer.hpp:38
Definition: UDAValue.hpp:32
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:29