From d0b3fd56b8eef09faf7986cef5d8732df1e5ddf5 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sat, 20 Dec 2014 16:39:32 +0100 Subject: adapted model classes to new Rtti class --- src/core/model/Domain.hpp | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'src/core/model/Domain.hpp') diff --git a/src/core/model/Domain.hpp b/src/core/model/Domain.hpp index d19558e..c0946bf 100644 --- a/src/core/model/Domain.hpp +++ b/src/core/model/Domain.hpp @@ -212,11 +212,6 @@ public: Rooted getPrimitiveType() const { return primitiveType; } }; -/** - * A global variable for the ManagedType of a FieldDescriptor. - */ -static ManagedType FieldDescriptorType{"FieldDescriptor", - typeid(FieldDescriptor)}; /** * This is a super class for StructuredClasses and AnnotationClasses and is, @@ -283,11 +278,6 @@ public: } }; -/** - * A global variable for the ManagedType of a Descriptor. - */ -static ManagedType DescriptorType{"Descriptor", typeid(Descriptor)}; - typedef RangeSet Cardinality; /** @@ -404,12 +394,6 @@ public: const NodeVector &getParents() const { return parents; } }; -/** - * A global variable for the ManagedType of a StructuredClass. - */ -static ManagedType StructuredClassType{ - "StructuredClass", typeid(StructuredClass), {&DescriptorType}}; - /** * An AnnotationClass defines allowed Annotations. For more information on * Annotations please refer to the Document.hpp. @@ -419,12 +403,6 @@ static ManagedType StructuredClassType{ class AnnotationClass : public Descriptor { }; -/** - * A global variable for the ManagedType of an AnnotationClass. - */ -static ManagedType AnnotationClassType{ - "AnnotationClass", typeid(AnnotationClass), {&DescriptorType}}; - /** * A Domain node specifies which StructuredClasses are allowed at the root * level (or which Nonterminals are axioms of the grammar) and which Annotations @@ -475,11 +453,6 @@ public: const NodeVector &getTypesystems() const { return typesystems; } }; - -/** - * A global variable for the ManagedType of a Domain. - */ -static ManagedType DomainType{"Domain", typeid(Domain)}; } } -- cgit v1.2.3