OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ParameterDescription.h
Go to the documentation of this file.
1#pragma once
2#include <list>
3
4#include "MetadataParameter.h"
5#include "OTCore/Variable.h"
6
8class __declspec(dllexport) ParameterDescription
9{
10public:
11 ParameterDescription(const MetadataParameter& _metadataParameter, bool _constantForDataset)
12 :m_metadataParameter(_metadataParameter), m_constantForDataset(_constantForDataset){}
13 ~ParameterDescription() = default;
14
15 ParameterDescription(ParameterDescription&& _other) noexcept = default;
16 ParameterDescription& operator=(ParameterDescription&& _other) = default;
17
18 ParameterDescription(const ParameterDescription& _other) =delete;
19 ParameterDescription& operator=(const ParameterDescription& _other) = delete;
20
21 MetadataParameter& getMetadataParameter()
22 {
23 return m_metadataParameter;
24 }
25
26 void setParameterConstantForDataset(bool _constantForDataset) { m_constantForDataset = _constantForDataset; };
27 bool getParameterConstantForDataset() const { return m_constantForDataset; }
28private:
29 MetadataParameter m_metadataParameter;
30 bool m_constantForDataset = false;
31};