From 53544766f96b16f683bf5618b7c0857b227d7da4 Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Tue, 17 Feb 2015 15:11:11 +0100 Subject: added typesystems getter. --- src/core/model/Document.hpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/core/model') diff --git a/src/core/model/Document.hpp b/src/core/model/Document.hpp index 6903bb3..a5e40ce 100644 --- a/src/core/model/Document.hpp +++ b/src/core/model/Document.hpp @@ -1013,6 +1013,13 @@ public: domains.insert(domains.end(), d.begin(), d.end()); } + /** + * Returns a const reference to the NodeVector of referenced Typesystems. + * + * @return a const reference to the NodeVector of referenced Typesystems. + */ + const NodeVector getTypesystems() const { return typesystems; } + /** * Adds a Typesystem reference to this Document. */ @@ -1031,7 +1038,6 @@ public: typesystems.insert(typesystems.end(), d.begin(), d.end()); } - /** * Returns true if and only if the given StructureNode is part of this * document, meaning that there is a path of parent references in the @@ -1055,4 +1061,4 @@ extern const Rtti Anchor; } } -#endif /* _OUSIA_MODEL_DOCUMENT_HPP_ */ +#endif /* _OUSIA_MODEL_DOCUMENT_HPP_ */ \ No newline at end of file -- cgit v1.2.3