OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ValueComparisionDefinition.h
Go to the documentation of this file.
1#pragma once
2#include <string>
3
4class __declspec(dllexport) ValueComparisionDefinition
5{
6public:
7 ValueComparisionDefinition(const std::string& _name, const std::string& _comparator, const std::string& _value, const std::string& _type, const std::string& _unit)
8 : m_name(_name), m_comparator(_comparator), m_value(_value), m_type(_type){}
9 const std::string& getName() const { return m_name; }
10 const std::string& getComparator() const { return m_comparator; }
11 const std::string& getValue() const { return m_value; }
12 const std::string& getType() const { return m_type; }
13 const std::string& getUnit() const { return m_unit; }
14
15 void setName(const std::string& name) { m_name = name; }
16private:
17 std::string m_name;
18 const std::string m_comparator;
19 const std::string m_value;
20 const std::string m_type;
21 const std::string m_unit;
22};