Changeset 345 for XIOS/trunk/src/group_template_impl.hpp
- Timestamp:
- 03/30/12 17:45:29 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/group_template_impl.hpp
r335 r345 13 13 namespace xios 14 14 { 15 using namespace tree;16 15 17 16 /// ////////////////////// Définitions ////////////////////// /// … … 44 43 const StdSize grpnb = this->groupList.size(); 45 44 const StdSize chdnb = this->childList.size(); 46 tree::ENodeType cenum = U::GetType();47 tree::ENodeType genum = V::GetType();45 ENodeType cenum = U::GetType(); 46 ENodeType genum = V::GetType(); 48 47 49 48 os.write (reinterpret_cast<const char*>(&grpnb) , sizeof(StdSize)); … … 60 59 bool hid = group->hasId(); 61 60 62 os.write (reinterpret_cast<const char*>(&genum), sizeof( tree::ENodeType));61 os.write (reinterpret_cast<const char*>(&genum), sizeof(ENodeType)); 63 62 os.write (reinterpret_cast<const char*>(&hid), sizeof(bool)); 64 63 … … 79 78 bool hid = child->hasId(); 80 79 81 os.write (reinterpret_cast<const char*>(&cenum), sizeof( tree::ENodeType));80 os.write (reinterpret_cast<const char*>(&cenum), sizeof(ENodeType)); 82 81 os.write (reinterpret_cast<const char*>(&hid), sizeof(bool)); 83 82 … … 106 105 StdSize grpnb = 0; 107 106 StdSize chdnb = 0; 108 tree::ENodeType renum = Unknown;107 ENodeType renum = Unknown; 109 108 110 109 is.read (reinterpret_cast<char*>(&grpnb), sizeof(StdSize)); … … 114 113 { 115 114 bool hid = false; 116 is.read (reinterpret_cast<char*>(&renum), sizeof( tree::ENodeType));115 is.read (reinterpret_cast<char*>(&renum), sizeof(ENodeType)); 117 116 is.read (reinterpret_cast<char*>(&hid), sizeof(bool)); 118 117 … … 138 137 { 139 138 bool hid = false; 140 is.read (reinterpret_cast<char*>(&renum), sizeof( tree::ENodeType));139 is.read (reinterpret_cast<char*>(&renum), sizeof(ENodeType)); 141 140 is.read (reinterpret_cast<char*>(&hid), sizeof(bool)); 142 141
Note: See TracChangeset
for help on using the changeset viewer.