diff options
author | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-01-05 15:05:28 +0100 |
---|---|---|
committer | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-01-05 15:05:28 +0100 |
commit | 15dd9d1aa1e0cfe8b31364fb42985ee8d5c5fc9d (patch) | |
tree | b2a2543b442cc4b70e21cea80641bc36aa3b1e36 /src/core/model/Domain.cpp | |
parent | 4b5f49447e1583756c6f6bb15d7bc643bb7adda3 (diff) |
corrected RTTI for domain und document and added a reference to system type system in test domain.
Diffstat (limited to 'src/core/model/Domain.cpp')
-rw-r--r-- | src/core/model/Domain.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/model/Domain.cpp b/src/core/model/Domain.cpp index 41f2b76..f9e2a55 100644 --- a/src/core/model/Domain.cpp +++ b/src/core/model/Domain.cpp @@ -82,14 +82,14 @@ void Domain::doResolve(std::vector<Rooted<Managed>> &res, /* Type registrations */ namespace RttiTypes { -const Rtti<model::FieldDescriptor> FieldDescriptor{"FieldDescriptor"}; -const Rtti<model::Descriptor> Descriptor{"Descriptor"}; +const Rtti<model::FieldDescriptor> FieldDescriptor{"FieldDescriptor", {&Node}}; +const Rtti<model::Descriptor> Descriptor{"Descriptor", {&Node}}; const Rtti<model::StructuredClass> StructuredClass{ "StructuredClass", {&Descriptor}, {&FieldDescriptor}}; const Rtti<model::AnnotationClass> AnnotationClass{"AnnotationClass", {&Descriptor}}; const Rtti<model::Domain> Domain{ - "Domain", std::unordered_set<const RttiBase*>{}, {&StructuredClass, &AnnotationClass}}; + "Domain", {&Node}, {&StructuredClass, &AnnotationClass}}; } } |