diff options
Diffstat (limited to 'src/core/XML.cpp')
-rw-r--r-- | src/core/XML.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/XML.cpp b/src/core/XML.cpp index 7f03b35..affa75f 100644 --- a/src/core/XML.cpp +++ b/src/core/XML.cpp @@ -45,4 +45,11 @@ void Text::doSerialize(std::ostream &out, unsigned int tabdepth) out << text << '\n'; } } + +namespace RttiTypes { +const Rtti<xml::Node> XMLNode = RttiBuilder("XMLNode"); +const Rtti<xml::Element> XMLElement = + RttiBuilder("XMLElement").parent(&XMLNode).composedOf(&XMLNode); +const Rtti<xml::Text> XMLText = RttiBuilder("XMLText").parent(&XMLNode); +} } |