summaryrefslogtreecommitdiff
path: root/src/core/model/Domain.hpp
diff options
context:
space:
mode:
authorBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-02-15 20:16:04 +0100
committerBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-02-15 20:16:04 +0100
commit67f25b93b847b43a62a4148e626481c3f6d0cd9b (patch)
tree1346a333d0712080a59ca88a1f31c21b188b2157 /src/core/model/Domain.hpp
parentc0db7f8fda037b2bfeb3f47605b9cb52205dffc8 (diff)
added getChildrenWithSubclasses and thus made pathTo and collect more compact.
Diffstat (limited to 'src/core/model/Domain.hpp')
-rw-r--r--src/core/model/Domain.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/model/Domain.hpp b/src/core/model/Domain.hpp
index 3f41ecf..081435a 100644
--- a/src/core/model/Domain.hpp
+++ b/src/core/model/Domain.hpp
@@ -275,6 +275,17 @@ public:
const NodeVector<StructuredClass> &getChildren() const { return children; }
/**
+ * Returns all StructuredClasses whose instances are allowed as children in
+ * the Structure Tree of instances of this field including subclasses of
+ * children, which are allowed directly.
+ *
+ * @return all StructuredClasses whose instances are allowed as children in
+ * the Structure Tree of instances of this field including subclasses of
+ * children, which are allowed directly.
+ */
+ NodeVector<StructuredClass> getChildrenWithSubclasses() const;
+
+ /**
* Adds a StructuredClass whose instances shall be allowed as children in
* the StructureTree of instances of this field.
*/