Add unit to UDQInput class
This commit is contained in:
committed by
Jostein Alvestad
parent
520df29bd8
commit
5e751bb26c
@@ -50,8 +50,8 @@ public:
|
||||
|
||||
class UDQInput{
|
||||
public:
|
||||
UDQInput(const UDQIndex& index, const UDQDefine& udq_define);
|
||||
UDQInput(const UDQIndex& index, const UDQAssign& udq_assign);
|
||||
UDQInput(const UDQIndex& index, const UDQDefine& udq_define, const std::string& unit);
|
||||
UDQInput(const UDQIndex& index, const UDQAssign& udq_assign, const std::string& unit);
|
||||
|
||||
template<typename T>
|
||||
const T& get() const;
|
||||
@@ -61,12 +61,14 @@ public:
|
||||
|
||||
const std::string& keyword() const;
|
||||
UDQVarType var_type() const;
|
||||
const std::string& unit() const;
|
||||
const UDQIndex index;
|
||||
private:
|
||||
UDQIndex index;
|
||||
const UDQDefine * define;
|
||||
const UDQAssign * assign;
|
||||
const std::string m_keyword;
|
||||
UDQVarType m_var_type;
|
||||
const std::string m_unit;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user