summaryrefslogtreecommitdiff
path: root/src/core/model/Document.hpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2014-12-20 16:39:32 +0100
committerAndreas Stöckel <andreas@somweyr.de>2014-12-20 16:39:32 +0100
commitd0b3fd56b8eef09faf7986cef5d8732df1e5ddf5 (patch)
tree9974a09bb3344a4aeb88f73078c681d345d59e91 /src/core/model/Document.hpp
parent4294735304bb89fe603a9d5f73717a09959d3c8b (diff)
adapted model classes to new Rtti class
Diffstat (limited to 'src/core/model/Document.hpp')
-rw-r--r--src/core/model/Document.hpp34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/core/model/Document.hpp b/src/core/model/Document.hpp
index 0e0a416..5a293d3 100644
--- a/src/core/model/Document.hpp
+++ b/src/core/model/Document.hpp
@@ -188,11 +188,6 @@ public:
};
/**
- * A global variable for the ManagedType of a DocumentEntity.
- */
-static ManagedType DocumentEntityType{"DocumentEntity", typeid(DocumentEntity)};
-
-/**
* A StructuredEntity is a node in the Structure Tree of a document. For more
* information please refer to the header documentation above.
*/
@@ -265,12 +260,6 @@ public:
};
/**
- * A global variable for the ManagedType of a StructuredEntity.
- */
-static ManagedType StructuredEntityType{
- "StructuredEntity", typeid(StructuredEntity), {&DocumentEntityType}};
-
-/**
* This is a wrapper for primitive types (Variants) inside the document graph.
* The most straightforward example for this is the actual document text, e.g.
* inside a paragraph. In that case this would represent a mere string.
@@ -308,12 +297,6 @@ public:
};
/**
- * A global variable for the ManagedType of a DocumentPrimitive.
- */
-static ManagedType DocumentPrimitiveType{
- "DocumentPrimitive", typeid(DocumentPrimitive), {&StructuredEntityType}};
-
-/**
* An AnnotationEntity is a span-like instance that is not bound by the elements
* of the Structure Tree. An annotation may very well overlap and cross the
* limits of StructureEntities. A typical example for AnnotationEntities are
@@ -377,18 +360,6 @@ public:
};
/**
- * A global variable for the ManagedType of an Anchor.
- */
-static ManagedType AnchorType{
- "Anchor", typeid(AnnotationEntity::Anchor), {&StructuredEntityType}};
-
-/**
- * A global variable for the ManagedType of an AnnotationEntity.
- */
-static ManagedType AnnotationEntityType{
- "AnnotationEntity", typeid(AnnotationEntity), {&DocumentEntityType}};
-
-/**
* A Document is mainly a wrapper for the Root structure node of the Document
* Graph.
*/
@@ -407,11 +378,6 @@ public:
Rooted<StructuredEntity> getRoot() const { return root; }
};
-
-/**
- * A global variable for the ManagedType of a Document.
- */
-static ManagedType DocumentType{"Document", typeid(Document)};
}
}