Ignore:
Timestamp:
03/30/12 17:45:29 (12 years ago)
Author:
ymipsl
Message:

removed "tree" namespace

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/group_template_impl.hpp

    r335 r345  
    1313namespace xios 
    1414{ 
    15    using namespace tree; 
    1615 
    1716   /// ////////////////////// Définitions ////////////////////// /// 
     
    4443      const StdSize grpnb = this->groupList.size(); 
    4544      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(); 
    4847       
    4948      os.write (reinterpret_cast<const char*>(&grpnb) , sizeof(StdSize)); 
     
    6059         bool hid = group->hasId(); 
    6160          
    62          os.write (reinterpret_cast<const char*>(&genum), sizeof(tree::ENodeType));       
     61         os.write (reinterpret_cast<const char*>(&genum), sizeof(ENodeType));       
    6362         os.write (reinterpret_cast<const char*>(&hid), sizeof(bool)); 
    6463          
     
    7978         bool hid = child->hasId(); 
    8079          
    81          os.write (reinterpret_cast<const char*>(&cenum), sizeof(tree::ENodeType)); 
     80         os.write (reinterpret_cast<const char*>(&cenum), sizeof(ENodeType)); 
    8281         os.write (reinterpret_cast<const char*>(&hid), sizeof(bool)); 
    8382          
     
    106105      StdSize grpnb = 0; 
    107106      StdSize chdnb = 0; 
    108       tree::ENodeType renum = Unknown; 
     107      ENodeType renum = Unknown; 
    109108       
    110109      is.read (reinterpret_cast<char*>(&grpnb), sizeof(StdSize)); 
     
    114113      { 
    115114         bool hid = false; 
    116          is.read (reinterpret_cast<char*>(&renum), sizeof(tree::ENodeType)); 
     115         is.read (reinterpret_cast<char*>(&renum), sizeof(ENodeType)); 
    117116         is.read (reinterpret_cast<char*>(&hid), sizeof(bool)); 
    118117          
     
    138137      { 
    139138         bool hid = false; 
    140          is.read (reinterpret_cast<char*>(&renum), sizeof(tree::ENodeType)); 
     139         is.read (reinterpret_cast<char*>(&renum), sizeof(ENodeType)); 
    141140         is.read (reinterpret_cast<char*>(&hid), sizeof(bool)); 
    142141          
Note: See TracChangeset for help on using the changeset viewer.