summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/model/Document.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/model/Document.hpp b/src/core/model/Document.hpp
index b2691c0..847796f 100644
--- a/src/core/model/Document.hpp
+++ b/src/core/model/Document.hpp
@@ -224,6 +224,14 @@ public:
void setAttributes(const Variant &a);
/**
+ * Returns a vector of NodeVectors, containing the StructureNode instances
+ * stored within the fields.
+ *
+ * @return a vector containing a NodeVector for each field.
+ */
+ const std::vector<NodeVector<StructureNode>> &getFields() const { return fields; }
+
+ /**
* This returns the vector of entities containing all members of the field
* with the given name.
*