summaryrefslogtreecommitdiff
path: root/src/core/model/Ontology.hpp
diff options
context:
space:
mode:
authorBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-04-08 19:33:41 +0200
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2016-04-25 22:19:34 +0200
commit06efbbafaac6da7d8beba7a37234b3a848b8a8fa (patch)
tree430082f1ade8852aa05529584a2e84d0f1ae4182 /src/core/model/Ontology.hpp
parentcdbcd9d2d43ec90a6bf64595042a215c95c28efd (diff)
added getter for referenced typesystems and ontologies.
Diffstat (limited to 'src/core/model/Ontology.hpp')
-rw-r--r--src/core/model/Ontology.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/model/Ontology.hpp b/src/core/model/Ontology.hpp
index cb314cc..3ef3b65 100644
--- a/src/core/model/Ontology.hpp
+++ b/src/core/model/Ontology.hpp
@@ -1446,6 +1446,13 @@ public:
}
/**
+ * Returns all referenced ontologies.
+ *
+ * @return all referenced ontologies.
+ */
+ const NodeVector<Ontology> &getOntologies() const { return ontologies; }
+
+ /**
* Adds a Ontology reference to this Ontology.
*/
void referenceOntology(Handle<Ontology> d) { ontologies.push_back(d); }
@@ -1476,4 +1483,4 @@ extern const Rtti Ontology;
}
}
-#endif /* _OUSIA_MODEL_ONTOLOGY_HPP_ */
+#endif /* _OUSIA_MODEL_ONTOLOGY_HPP_ */ \ No newline at end of file