summaryrefslogtreecommitdiff
path: root/src/core/model/Document.hpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-17 15:26:24 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-17 15:26:24 +0100
commit8992dc8c4359964168da3e9221a31bfe9e4ffe8f (patch)
treef2176e0883c4b6ee814a96902d946979326296a6 /src/core/model/Document.hpp
parent33b5b737313e6d1409c60da77db26f1f00b91b57 (diff)
Improved validation system
Diffstat (limited to 'src/core/model/Document.hpp')
-rw-r--r--src/core/model/Document.hpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/core/model/Document.hpp b/src/core/model/Document.hpp
index b73e07d..5af3ce2 100644
--- a/src/core/model/Document.hpp
+++ b/src/core/model/Document.hpp
@@ -161,7 +161,7 @@ protected:
fields[getFieldDescriptorIndex(fieldName, true)].push_back(s);
}
- bool doValidate(Logger &logger, std::set<ManagedUid> &visited) const;
+ bool validate(Logger &logger) const;
public:
/**
@@ -369,8 +369,7 @@ public:
*/
class StructuredEntity : public StructureNode, public DocumentEntity {
protected:
- bool doValidate(Logger &logger,
- std::set<ManagedUid> &visited) const override;
+ bool doValidate(Logger &logger) const override;
public:
/**
@@ -514,8 +513,7 @@ private:
Owned<Anchor> start;
Owned<Anchor> end;
protected:
- bool doValidate(Logger &logger,
- std::set<ManagedUid> &visited) const override;
+ bool doValidate(Logger &logger) const override;
public:
/**