| #ifndef BASYX_MAP_V2_SDK_CONCEPTDICTIONARY_H |
| #define BASYX_MAP_V2_SDK_CONCEPTDICTIONARY_H |
| |
| #include <BaSyx/submodel/api_v2/parts/IConceptDictionary.h> |
| #include <BaSyx/submodel/map_v2/qualifier/Referable.h> |
| #include <BaSyx/submodel/map_v2/common/ElementContainer.h> |
| #include <BaSyx/vab/ElementMap.h> |
| #include <BaSyx/submodel/map_v2/parts/ConceptDescription.h> |
| |
| namespace basyx { |
| namespace submodel { |
| namespace map { |
| |
| class ConceptDictionary |
| : public api::IConceptDictionary |
| , public virtual Referable |
| , public virtual vab::ElementMap |
| { |
| private: |
| ElementContainer<api::IConceptDescription> concept_descriptions; |
| public: |
| ConceptDictionary(const std::string & idShort); |
| |
| //inherited via IConceptDictionary |
| const api::IElementContainer<api::IConceptDescription> & getConceptDescriptions() const override; |
| |
| // not inherited |
| void addConceptDescription(std::unique_ptr<ConceptDescription> description); |
| }; |
| |
| } |
| } |
| } |
| #endif //BASYX_MAP_V2_SDK_CONCEPTDICTIONARY_H |