27#include <opm/input/eclipse/Schedule/UDQ/UDQEnums.hpp>
34 UDQToken(
const std::string& string_token, UDQTokenType token_type);
35 UDQToken(
const std::string& string_token,
const std::vector<std::string>& selector);
37 static UDQToken serializationTestObject();
39 const std::vector<std::string>& selector()
const;
40 const std::variant<std::string, double>& value()
const;
41 UDQTokenType type()
const;
42 std::string str()
const;
44 bool operator==(
const UDQToken&)
const;
46 template<
class Serializer>
49 serializer(token_type);
51 serializer(m_selector);
55 UDQTokenType token_type{UDQTokenType::error};
56 std::variant<std::string,double> m_value;
57 std::vector<std::string> m_selector;
Class for (de-)serializing.
Definition: Serializer.hpp:84
Definition: UDQToken.hpp:31
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:30