diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-02-02 15:11:34 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-02-02 15:11:34 +0100 |
commit | 66e9838c47b58810cb0bb6c67c32fb119eb50797 (patch) | |
tree | cb2fff77f6e45e41708e33c8c10c9cb7f206364e /src/core/model/Domain.hpp | |
parent | 19d1eeba6ad3637e0e108fe177874b5509a7988b (diff) |
Importing files works now
Diffstat (limited to 'src/core/model/Domain.hpp')
-rw-r--r-- | src/core/model/Domain.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/model/Domain.hpp b/src/core/model/Domain.hpp index 7704d36..6648551 100644 --- a/src/core/model/Domain.hpp +++ b/src/core/model/Domain.hpp @@ -206,6 +206,7 @@ #include <core/RangeSet.hpp> #include "Node.hpp" +#include "RootNode.hpp" #include "Typesystem.hpp" namespace ousia { @@ -879,7 +880,7 @@ public: * are part of this domain. TODO: Do we want to be able to restrict Annotations * to certain Structures? */ -class Domain : public Node { +class Domain : public RootNode { friend StructuredClass; friend AnnotationClass; @@ -890,8 +891,9 @@ private: protected: void doResolve(ResolutionState &state) override; - bool doValidate(Logger &logger) const override; + void doReference(Handle<Node> node) override; + RttiSet doGetReferenceTypes() const override; public: /** @@ -903,7 +905,7 @@ public: * references to this Domain. */ Domain(Manager &mgr, std::string name = "") - : Node(mgr, std::move(name), nullptr), + : RootNode(mgr, std::move(name), nullptr), structuredClasses(this), annotationClasses(this), typesystems(this) |