From 378ff2235fdf32983ebf2186a9127e51cbe8a0ab Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Fri, 16 Jan 2015 17:02:04 +0100 Subject: Allowing deferred resolution of Nodes --- src/plugins/xml/XmlParser.cpp | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/plugins') diff --git a/src/plugins/xml/XmlParser.cpp b/src/plugins/xml/XmlParser.cpp index 87a2016..9d1aba4 100644 --- a/src/plugins/xml/XmlParser.cpp +++ b/src/plugins/xml/XmlParser.cpp @@ -85,29 +85,10 @@ public: void end() override { - // Try to resolve the specified parent structure - Rooted parentStructure; - if (!parent.empty()) { - // TODO: What about (temporarily) unresolved nodes - // Idea: Provide constructor for empty node, store unresolved nodes - // in the scope, resolve later - parentStructure = - scope() - .resolve(Utils::split(parent, '.'), - (const RttiType &)RttiTypes::StructType, logger()) - .cast(); - } - - Rooted typesystem = - scope().getLeaf().cast(); } void child(std::shared_ptr handler) { -/* std::shared_ptr structFieldHandler = - dynamic_cast(handler);*/ - - // Try to resolve } static Handler *create(const HandlerData &handlerData) -- cgit v1.2.3