Changeset 345 for XIOS/trunk/src/xml_parser.cpp
- Timestamp:
- 03/30/12 17:45:29 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/xml_parser.cpp
r335 r345 52 52 do 53 53 { 54 boost::shared_ptr< tree::CContextGroup> group_context =55 tree::CContext::GetContextGroup();54 boost::shared_ptr<CContextGroup> group_context = 55 CContext::GetContextGroup(); 56 56 attributes = node.getAttributes(); 57 57 … … 65 65 CGroupFactory::SetCurrentContextId(attributes["id"]); 66 66 67 bool hasctxt = CObjectFactory::HasObject< tree::CContext>(attributes["id"]);67 bool hasctxt = CObjectFactory::HasObject<CContext>(attributes["id"]); 68 68 69 69 if(hasctxt) … … 74 74 } 75 75 76 boost::shared_ptr< tree::CContext> context =77 CObjectFactory::CreateObject< tree::CContext>(attributes["id"]);76 boost::shared_ptr<CContext> context = 77 CObjectFactory::CreateObject<CContext>(attributes["id"]); 78 78 if (!hasctxt) CGroupFactory::AddChild(group_context, context); 79 79 context->parse(node);
Note: See TracChangeset
for help on using the changeset viewer.