summaryrefslogtreecommitdiff
path: root/src/core/model/Document.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/model/Document.hpp')
-rw-r--r--src/core/model/Document.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/model/Document.hpp b/src/core/model/Document.hpp
index 4147847..5d5879e 100644
--- a/src/core/model/Document.hpp
+++ b/src/core/model/Document.hpp
@@ -346,6 +346,9 @@ public:
class StructureNode : public Node {
friend DocumentEntity;
+protected:
+ bool doValidate(Logger &logger) const override;
+
public:
/**
* Constructor for a StructureNode in the StructureTree.
@@ -491,6 +494,9 @@ public:
* Please refer to the AnnotationEntity documentation for more information.
*/
class Anchor : public StructureNode {
+protected:
+ bool doValidate(Logger &logger) const override;
+
public:
/**
* Constructor for Anchor.