36#ifndef OPM_PARAMETER_HEADER
37#define OPM_PARAMETER_HEADER
41#include <opm/common/utility/parameters/ParameterMapItem.hpp>
42#include <opm/common/utility/parameters/ParameterStrings.hpp>
55 std::string
getTag()
const override {
return ID_xmltag__param; }
59 Parameter(
const std::string& value,
const std::string& type)
60 : value_(value), type_(type) {}
68 std::string
getType()
const {
return type_;}
79 std::string correct_type(
const Parameter& parameter,
80 const std::string& type);
90 std::string& conversion_error,
93 static std::string type() {
return ID_param_type__int;}
104 std::string& conversion_error,
107 static std::string type() {
return ID_param_type__float;}
118 std::string& conversion_error,
121 static std::string type() {
return ID_param_type__bool;}
132 std::string& conversion_error,
135 static std::string type() {
return ID_param_type__string;}
Definition Parameter.hpp:47
virtual ~Parameter()
Definition Parameter.hpp:51
std::string getValue() const
Definition Parameter.hpp:64
std::string getTag() const override
Definition Parameter.hpp:55
Parameter(const std::string &value, const std::string &type)
Definition Parameter.hpp:59
std::string getType() const
Definition Parameter.hpp:68
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30
std::string correct_parameter_tag(const ParameterMapItem &item)
Definition Parameter.cpp:47
Definition ParameterMapItem.hpp:64
The parameter handlig system is structured as a tree, where each node inhertis from ParameterMapItem.
Definition ParameterMapItem.hpp:47