OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
QuantityDescriptionCurveComplex.h
Go to the documentation of this file.
1#pragma once
3
4class __declspec(dllexport) QuantityDescriptionCurveComplex :public QuantityDescription
5{
6public:
7 QuantityDescriptionCurveComplex()
8 {
9 m_metadataQuantity.dataDimensions.push_back(1);
10 }
11
12 void reserveSizeRealValues(uint64_t _size)
13 {
14 m_quantityValuesReal.reserve(_size);
15 }
16 void reserveSizeImagValues(uint64_t _size)
17 {
18 m_quantityValuesImag.reserve(_size);
19 }
20 void addValueReal(ot::Variable&& _value)
21 {
22 m_quantityValuesReal.push_back(_value);
23 }
24 void addValueImag(ot::Variable&& _value)
25 {
26 m_quantityValuesImag.push_back(_value);
27 }
28 const std::vector<ot::Variable>& getQuantityValuesReal() const
29 {
30 return m_quantityValuesReal;
31 }
32 const std::vector<ot::Variable>& getQuantityValuesImag() const
33 {
34 return m_quantityValuesImag;
35 }
36
37private:
38 std::vector<ot::Variable> m_quantityValuesReal;
39 std::vector<ot::Variable> m_quantityValuesImag;
40};
Definition Variable.h:107