OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
DatasetDescription.h
Go to the documentation of this file.
1#pragma once
2
3#include <list>
4#include <memory>
5
8
9class __declspec(dllexport) DatasetDescription
10{
11public:
12 virtual ~DatasetDescription();
13 DatasetDescription();
14 DatasetDescription& operator=(DatasetDescription&& other) noexcept;
15 DatasetDescription(DatasetDescription&& other) noexcept;
16 DatasetDescription& operator=(const DatasetDescription& other) = delete;
17 DatasetDescription(const DatasetDescription& other) = delete;
18
19 const std::list<std::shared_ptr<ParameterDescription>>& getParameters() const { return m_parameters; }
20 QuantityDescription* getQuantityDescription() { return m_quantityDescription; }
21
22 void setQuantityDescription(QuantityDescription* _quantityDescription);
23
24 void addParameterDescription(std::shared_ptr<ParameterDescription> _parameterDescription);
25 void addParameterDescriptions(std::list<std::shared_ptr<ParameterDescription>>_parameterDescriptions);
26protected:
27
28 std::list<std::shared_ptr<ParameterDescription>> m_parameters;
29 QuantityDescription* m_quantityDescription = nullptr;
30};