Changeset 346 for XIOS/trunk/src/manager
- Timestamp:
- 04/12/12 17:02:23 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/manager/tree_manager.cpp
r345 r346 17 17 boost::shared_ptr<CContext> CTreeManager::CreateContext(const StdString & id) 18 18 { 19 boost::shared_ptr<CContextGroup> group_context = CContext:: GetContextGroup();19 boost::shared_ptr<CContextGroup> group_context = CContext::getRoot(); 20 20 CTreeManager::SetCurrentContextId(id); 21 21 bool hasctxt = CObjectFactory::HasObject<CContext>(id); … … 79 79 CObjectFactory::GetCurrentContextId(); 80 80 std::vector<boost::shared_ptr<CContext> > def_vector = 81 CContext:: GetContextGroup()->getChildList();81 CContext::getRoot()->getChildList(); 82 82 83 83 const StdSize size = def_vector.size(); … … 116 116 ENodeType renum = Unknown; 117 117 118 boost::shared_ptr<CContextGroup> group_context = 119 CContext::GetContextGroup(); 118 boost::shared_ptr<CContextGroup> group_context = CContext::getRoot(); 120 119 121 120 is.read (reinterpret_cast<char*>(&renum), sizeof(ENodeType)); … … 172 171 StdString currentContextId = 173 172 CObjectFactory::GetCurrentContextId(); 174 std::vector<boost::shared_ptr<CContext> > def_vector = 175 CContext::GetContextGroup()->getChildList(); 173 std::vector<boost::shared_ptr<CContext> > def_vector = CContext::getRoot()->getChildList(); 176 174 177 175 const StdSize size = def_vector.size(); … … 262 260 ENodeType renum = Unknown; 263 261 264 boost::shared_ptr<CContextGroup> group_context = 265 CContext::GetContextGroup(); 266 std::vector<boost::shared_ptr<CContext> > def_vector = 267 CContext::GetContextGroup()->getChildList(); 262 boost::shared_ptr<CContextGroup> group_context = CContext::getRoot(); 263 std::vector<boost::shared_ptr<CContext> > def_vector = CContext::getRoot()->getChildList(); 268 264 269 265 const StdSize size = def_vector.size();
Note: See TracChangeset
for help on using the changeset viewer.