summaryrefslogtreecommitdiff
path: root/src/core/model/Ontology.hpp
diff options
context:
space:
mode:
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