4class __declspec(dllexport) QuantityDescriptionSParameter :
public QuantityDescription
7 QuantityDescriptionSParameter(uint64_t _reserveNumberOfEntries = 0);
9 QuantityDescriptionSParameter(uint32_t _portNumber, uint64_t _reserveNumberOfEntries = 0);
11 QuantityDescriptionSParameter(QuantityDescriptionSParameter&& _other)
noexcept =
default;
12 QuantityDescriptionSParameter& operator=(QuantityDescriptionSParameter&& _other)
noexcept =
default;
13 QuantityDescriptionSParameter(
const QuantityDescriptionSParameter& _other) =
default;
14 QuantityDescriptionSParameter& operator=(
const QuantityDescriptionSParameter& _other) =
default;
16 void setNumberOfPorts(uint32_t _portNumber);
20 void initiateZeroFilledValueMatrices(uint64_t _numberOfValues);
22 void reserve(uint64_t _reserveNumberOfEntries);
24 void optimiseMemory();
26 void pushBackFirstValue(ot::GenericDataStructMatrix&& _sparameterMatrix);
28 void pushBackSecondValue(ot::GenericDataStructMatrix&& _sparameterMatrix);
31 void setFirstValue(uint64_t _index,
const ot::MatrixEntryPointer& _matrixPointer,
ot::Variable&& _value);
34 void setSecondValue(uint64_t _index,
const ot::MatrixEntryPointer& _matrixPointer,
ot::Variable&& _value);
38 const std::vector<ot::Variable> getFirstValues(uint64_t _index);
42 const std::vector<ot::Variable> getSecondValues(uint64_t _index);
45 const size_t getNumberOfFirstValues()
const {
return m_quantityValuesFirst.size(); }
48 const size_t getNumberOfSecondValues()
const {
return m_quantityValuesSecond.size(); }
50 uint64_t m_numberOfMatrixEntries = 0;
51 std::vector<ot::GenericDataStructMatrix> m_quantityValuesFirst;
52 std::vector<ot::GenericDataStructMatrix> m_quantityValuesSecond;
54 bool inline firstValueAccessValid(uint64_t _index, uint32_t _row, uint32_t _column);
56 bool inline secondValueAccessValid(uint64_t _index, uint32_t _row, uint32_t _column);
Definition Variable.h:107