From 66e9838c47b58810cb0bb6c67c32fb119eb50797 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Mon, 2 Feb 2015 15:11:34 +0100 Subject: Importing files works now --- src/core/model/Domain.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/core/model/Domain.hpp') 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 #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) 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) -- cgit v1.2.3