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