Changeset 345 for XIOS/trunk/src/manager/tree_manager.cpp
- Timestamp:
- 03/30/12 17:45:29 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/manager/tree_manager.cpp
r335 r345 7 7 namespace xios 8 8 { 9 namespace tree10 {11 9 /// ////////////////////// Définitions ////////////////////// /// 12 10 … … 23 21 bool hasctxt = CObjectFactory::HasObject<CContext>(id); 24 22 25 boost::shared_ptr< tree::CContext> context =26 CObjectFactory::CreateObject< tree::CContext>(id);23 boost::shared_ptr<CContext> context = 24 CObjectFactory::CreateObject<CContext>(id); 27 25 if (!hasctxt) CGroupFactory::AddChild(group_context, context); 28 26 … … 46 44 { 47 45 StdOStringStream ostrstream; 48 tree::CContext::ShowTree(ostrstream);46 CContext::ShowTree(ostrstream); 49 47 content.assign(CIndentedXml::Indented(ostrstream.str())); 50 48 } … … 53 51 { 54 52 StdOStringStream ostrstream; 55 tree::CContext::ShowTree(ostrstream);53 CContext::ShowTree(ostrstream); 56 54 out << CIndentedXml::Indented(ostrstream.str()); 57 55 } … … 133 131 { 134 132 bool hid = false; 135 is.read (reinterpret_cast<char*>(&renum), sizeof( tree::ENodeType));133 is.read (reinterpret_cast<char*>(&renum), sizeof(ENodeType)); 136 134 is.read (reinterpret_cast<char*>(&hid), sizeof(bool)); 137 135 … … 395 393 ///------------------------------------------------------------- 396 394 397 } // namespace tree398 395 } // namespace xios
Note: See TracChangeset
for help on using the changeset viewer.