13class __declspec(dllexport) QuantityDescription
16 QuantityDescription() =
default;
17 QuantityDescription& operator=(
const QuantityDescription& _other) =
default;
18 QuantityDescription& operator=(QuantityDescription&& _other)
noexcept =
default;
19 QuantityDescription(
const QuantityDescription& _other) =
default;
20 QuantityDescription(QuantityDescription&& _other)
noexcept =
default;
22 virtual ~QuantityDescription() {}
24 const std::string& getName()
const {
return m_metadataQuantity.quantityName; }
25 void setName(
const std::string& _quantityName)
27 m_metadataQuantity.quantityName = _quantityName;
31 void addValueDescription(
const std::string _valueName,
const std::string _valueDataType,
const std::string _valueUnit);
32 void clearValueDescriptions()
34 m_metadataQuantity.valueDescriptions.clear();
37 MetadataQuantity& getMetadataQuantity() {
return m_metadataQuantity; }
40 ot::UID getFirstValueQuantityIndex()
const;
43 ot::UID getSecondValueQuantityIndex()
const;
46 MetadataQuantity m_metadataQuantity;
49 inline bool invariant()
const