Thomas Psota | 7e562b6 | 2020-04-30 15:11:32 +0200 | [diff] [blame] | 1 | #ifndef BASYX_SUBMODEL_SIMPLE_QUALIFIER_HASDATASPECIFICATION_H |
| 2 | #define BASYX_SUBMODEL_SIMPLE_QUALIFIER_HASDATASPECIFICATION_H |
| 3 | |
| 4 | #include <BaSyx/submodel/api_v2/qualifier/IHasDataSpecification.h> |
| 5 | #include <BaSyx/submodel/simple/reference/Reference.h> |
| 6 | |
| 7 | |
| 8 | namespace basyx { |
| 9 | namespace submodel { |
| 10 | namespace simple { |
| 11 | |
Constantin Ziesche | 02817f1 | 2020-08-04 21:40:43 +0200 | [diff] [blame^] | 12 | class HasDataSpecification |
| 13 | : public virtual api::IHasDataSpecification |
Thomas Psota | 7e562b6 | 2020-04-30 15:11:32 +0200 | [diff] [blame] | 14 | { |
| 15 | private: |
| 16 | std::vector<Reference> dataSpecification; |
| 17 | public: |
| 18 | HasDataSpecification(); |
| 19 | |
| 20 | virtual ~HasDataSpecification() = default; |
| 21 | public: |
Constantin Ziesche | 02817f1 | 2020-08-04 21:40:43 +0200 | [diff] [blame^] | 22 | void addDataSpecification(const Reference & reference) override; |
Thomas Psota | 7e562b6 | 2020-04-30 15:11:32 +0200 | [diff] [blame] | 23 | const std::vector<Reference> getDataSpecificationReference() const override; |
| 24 | }; |
| 25 | |
| 26 | } |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | #endif /* BASYX_SUBMODEL_SIMPLE_QUALIFIER_HASDATASPECIFICATION_H */ |