summaryrefslogtreecommitdiff
path: root/src/core/model
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/model')
-rw-r--r--src/core/model/Document.hpp10
1 files changed, 8 insertions, 2 deletions
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
@@ -1014,6 +1014,13 @@ public:
}
/**
+ * Returns a const reference to the NodeVector of referenced Typesystems.
+ *
+ * @return a const reference to the NodeVector of referenced Typesystems.
+ */
+ const NodeVector<Typesystem> getTypesystems() const { return typesystems; }
+
+ /**
* Adds a Typesystem reference to this Document.
*/
void referenceTypesystem(Handle<Typesystem> d)
@@ -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