blob: db4fd10fdde4eb444de528992c6295b25edff0f5 [file] [log] [blame]
Constantin Ziesche02817f12020-08-04 21:40:43 +02001#include <BaSyx/submodel/simple/parts/ConceptDictionary.h>
2
3
4namespace basyx {
5namespace submodel {
6namespace simple {
7using namespace basyx::submodel::api;
8
9ConceptDictionary::ConceptDictionary(const std::string & idShort)
10 : conecpt_descriptions{}
11 , Referable(idShort)
12{}
13
14const api::IElementContainer<api::IConceptDescription> & ConceptDictionary::getConceptDescriptions() const
15{
16 return this->conecpt_descriptions;
17}
18
19void ConceptDictionary::addConceptDescription(std::unique_ptr<ConceptDescription> description)
20{
21 this->conecpt_descriptions.addElement(std::move(description));
22}
23
24
25}
26}
27}