Changeset 345


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

removed "tree" namespace

YM

Location:
XIOS/trunk/src
Files:
67 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/attribute.cpp

    r335 r345  
    44namespace xios 
    55{ 
    6    namespace tree 
    7    { 
    86      /// ////////////////////// Définitions ////////////////////// /// 
    97      CAttribute::CAttribute(const StdString & id) 
     
    5452      ///-------------------------------------------------------------- 
    5553 
    56    } // namespace tree 
    5754       
    58       CMessage& operator<<(CMessage& msg,tree::CAttribute& type) 
     55      CMessage& operator<<(CMessage& msg,CAttribute& type) 
    5956      { 
    6057        msg.push(type) ; 
     
    6259      } 
    6360 
    64      CMessage& operator<<(CMessage& msg, const tree::CAttribute&  type) 
     61     CMessage& operator<<(CMessage& msg, const CAttribute&  type) 
    6562     { 
    6663       msg.push(*type.duplicate()) ; 
     
    6865     } 
    6966  
    70       CBufferOut& operator<<(CBufferOut& buffer, tree::CAttribute&  type) 
     67      CBufferOut& operator<<(CBufferOut& buffer, CAttribute&  type) 
    7168     { 
    7269     
    73        if (!type.toBuffer(buffer)) ERROR("CBufferOut& operator<<(CBufferOut& buffer, tree::CAttribute&  type)", 
     70       if (!type.toBuffer(buffer)) ERROR("CBufferOut& operator<<(CBufferOut& buffer, CAttribute&  type)", 
    7471                                           <<"Buffer remain size is to low for size type") ; 
    7572      return buffer ; 
    7673     } 
    7774      
    78      CBufferIn& operator>>(CBufferIn& buffer, tree::CAttribute&  type) 
     75     CBufferIn& operator>>(CBufferIn& buffer, CAttribute&  type) 
    7976     { 
    8077     
    81        if (!type.fromBuffer(buffer)) ERROR("CBufferInt& operator>>(CBufferIn& buffer, tree::CAttribute&  type)", 
     78       if (!type.fromBuffer(buffer)) ERROR("CBufferInt& operator>>(CBufferIn& buffer, CAttribute&  type)", 
    8279                                           <<"Buffer remain size is to low for size type") ; 
    8380       return buffer ; 
  • XIOS/trunk/src/attribute.hpp

    r335 r345  
    1515namespace xios 
    1616{ 
    17    namespace tree 
    18    { 
    1917      /// ////////////////////// Déclarations ////////////////////// /// 
    2018      class CAttribute : public CObject, public CBaseType 
     
    9997      } 
    10098 
    101    } // namespace tree 
    10299  
    103    CMessage& operator<<(CMessage& msg,tree::CAttribute& type) ; 
    104    CMessage& operator<<(CMessage& msg, const tree::CAttribute&  type) ; 
     100   CMessage& operator<<(CMessage& msg,CAttribute& type) ; 
     101   CMessage& operator<<(CMessage& msg, const CAttribute&  type) ; 
    105102  
    106    CBufferOut& operator<<(CBufferOut& buffer,tree::CAttribute& type) ; 
    107    CBufferIn& operator>>(CBufferIn& buffer, tree::CAttribute&  type) ; 
     103   CBufferOut& operator<<(CBufferOut& buffer,CAttribute& type) ; 
     104   CBufferIn& operator>>(CBufferIn& buffer, CAttribute&  type) ; 
    108105} 
    109106  // namespace xios 
  • XIOS/trunk/src/attribute_map.cpp

    r335 r345  
    44namespace xios 
    55{ 
    6    namespace tree 
    7    { 
    86      /// ////////////////////// Définitions ////////////////////// /// 
    97      CAttributeMap * CAttributeMap::Current = NULL; 
     
    534532   
    535533 
    536    } // namespace tree 
    537534} // namespace xmlioser 
  • XIOS/trunk/src/attribute_map.hpp

    r335 r345  
    1111namespace xios 
    1212{ 
    13    namespace tree 
    14    { 
    1513      /// ////////////////////// Déclarations ////////////////////// /// 
    1614      class CAttributeMap 
     
    6967      };  // class CAttributeMap 
    7068 
    71    } // namespace tree 
    7269} // namespace xios 
    7370 
  • XIOS/trunk/src/attribute_template.cpp

    r335 r345  
    66namespace xios 
    77{ 
    8    namespace tree 
    9    { 
    108      /// ////////////////////// Définitions ////////////////////// /// 
    119 
     
    216214 
    217215      ///-------------------------------------------------------------- 
    218    } // namespace tree 
    219216} // namespace xios 
  • XIOS/trunk/src/attribute_template.hpp

    r335 r345  
    1616namespace xios 
    1717{ 
    18    namespace tree 
    19    { 
    2018      /// ////////////////////// Déclarations ////////////////////// /// 
    2119      template <class T> 
     
    8179      }; // class CAttribute     
    8280       
    83    } // namespace tree 
    8481    
    8582   template <class T>  void FromBinary(StdIStream & is, T & obj); 
  • XIOS/trunk/src/attribute_template_impl.hpp

    r335 r345  
    1313{ 
    1414 
    15    namespace tree 
    16    { 
    1715      /// ////////////////////// Définitions ////////////////////// /// 
    1816      template <class T> 
     
    293291 
    294292      ///-------------------------------------------------------------- 
    295    } // namespace tree 
    296293} // namespace xios 
    297294 
  • XIOS/trunk/src/client.cpp

    r342 r345  
    130130    { 
    131131      CObjectFactory::SetCurrentContextId(id); 
    132       shared_ptr<CContext> context=tree::CTreeManager::CreateContext(id) ; 
     132      shared_ptr<CContext> context=CTreeManager::CreateContext(id) ; 
    133133         
    134134      if (!CXios::isServer) 
  • XIOS/trunk/src/context_client.cpp

    r335 r345  
    1515 
    1616 
    17     CContextClient::CContextClient(tree::CContext* parent,MPI_Comm intraComm_, MPI_Comm interComm_) 
     17    CContextClient::CContextClient(CContext* parent,MPI_Comm intraComm_, MPI_Comm interComm_) 
    1818    { 
    1919      context=parent ; 
  • XIOS/trunk/src/context_client.hpp

    r335 r345  
    1010namespace xios 
    1111{ 
    12   namespace tree 
    13   { 
    14     class CContext ; 
    15   } 
     12  class CContext ; 
    1613   
    1714  class CContextClient 
     
    1916   
    2017    public: 
    21     CContextClient(tree::CContext* parent,MPI_Comm intraComm, MPI_Comm interComm) ; 
     18    CContextClient(CContext* parent,MPI_Comm intraComm, MPI_Comm interComm) ; 
    2219//    void registerEvent(CEventClient& event) ; 
    2320 
     
    4441    void waitEvent(list<int>& ranks) ; 
    4542 
    46     tree::CContext* context ; 
     43    CContext* context ; 
    4744//    bool locked ; 
    4845     
  • XIOS/trunk/src/context_server.cpp

    r335 r345  
    1616{ 
    1717 
    18   CContextServer::CContextServer(tree::CContext* parent,MPI_Comm intraComm_,MPI_Comm interComm_) 
     18  CContextServer::CContextServer(CContext* parent,MPI_Comm intraComm_,MPI_Comm interComm_) 
    1919  { 
    2020    context=parent ; 
     
    167167    int rank ; 
    168168    list<CEventServer::SSubEvent>::iterator it ; 
    169     tree::CTreeManager::SetCurrentContextId(context->getId()) ; 
     169    CTreeManager::SetCurrentContextId(context->getId()) ; 
    170170         
    171171    if (event.classId==CContext::GetType() && event.type==CContext::EVENT_ID_CONTEXT_FINALIZE) 
  • XIOS/trunk/src/context_server.hpp

    r335 r345  
    88namespace xios 
    99{ 
    10   namespace tree 
    11   { 
    12     class CContext ; 
    13   } 
     10  class CContext ; 
    1411   
    1512  class CContextServer 
     
    1714    public: 
    1815     
    19     CContextServer(tree::CContext* parent,MPI_Comm intraComm,MPI_Comm interComm) ; 
     16    CContextServer(CContext* parent,MPI_Comm intraComm,MPI_Comm interComm) ; 
    2017    bool eventLoop(void) ; 
    2118    void listen(void) ; 
     
    4037    map<size_t,CEventServer*> events ; 
    4138    size_t currentTimeLine ; 
    42     tree::CContext* context ; 
     39    CContext* context ; 
    4340     
    4441    bool finished ; 
  • XIOS/trunk/src/cxios.cpp

    r342 r345  
    2525  void CXios::initialize() 
    2626  { 
    27     tree::CTreeManager::ParseFile(rootFile); 
     27    CTreeManager::ParseFile(rootFile); 
    2828    usingServer=getin<bool>("using_server",false) ; 
    2929    usingOasis=getin<bool>("using_oasis",false) ; 
  • XIOS/trunk/src/data_output.cpp

    r343 r345  
    1515 
    1616      void CDataOutput::writeGrid 
    17          (const boost::shared_ptr<tree::CGrid> grid) 
     17         (const boost::shared_ptr<CGrid> grid) 
    1818      { 
    1919         if (grid->domain_ref.isEmpty()) 
     
    2424         { 
    2525            this->writeGrid 
    26             (CObjectFactory::GetObject<tree::CDomain>(grid->domain_ref.getValue())); 
     26            (CObjectFactory::GetObject<CDomain>(grid->domain_ref.getValue())); 
    2727         } 
    2828         else 
    2929         { 
    3030            this->writeGrid 
    31             (CObjectFactory::GetObject<tree::CDomain>(grid->domain_ref.getValue()), 
    32              CObjectFactory::GetObject<tree::CAxis>(grid->axis_ref.getValue())); 
     31            (CObjectFactory::GetObject<CDomain>(grid->domain_ref.getValue()), 
     32             CObjectFactory::GetObject<CAxis>(grid->axis_ref.getValue())); 
    3333         } 
    3434      } 
     
    3737 
    3838      void CDataOutput::writeFile 
    39          (const boost::shared_ptr<tree::CFile>  file) 
     39         (const boost::shared_ptr<CFile>  file) 
    4040      { 
    4141         this->writeFile_(file); 
     
    5555 
    5656      void CDataOutput::writeGrid 
    57          (const boost::shared_ptr<tree::CDomain> domain, 
    58           const boost::shared_ptr<tree::CAxis> axis) 
     57         (const boost::shared_ptr<CDomain> domain, 
     58          const boost::shared_ptr<CAxis> axis) 
    5959      { 
    6060         this->writeDomain_(domain); 
     
    6565 
    6666      void CDataOutput::writeGrid 
    67          (const boost::shared_ptr<tree::CDomain> domain) 
     67         (const boost::shared_ptr<CDomain> domain) 
    6868      { 
    6969         this->writeDomain_(domain); 
     
    7373 
    7474      void CDataOutput::writeField 
    75          (const boost::shared_ptr<tree::CField> field) 
     75         (const boost::shared_ptr<CField> field) 
    7676      { 
    77          boost::shared_ptr<tree::CContext> context = 
    78          CObjectFactory::GetObject<tree::CContext>(CObjectFactory::GetCurrentContextId()); 
     77         boost::shared_ptr<CContext> context = 
     78         CObjectFactory::GetObject<CContext>(CObjectFactory::GetCurrentContextId()); 
    7979         boost::shared_ptr<CCalendar> calendar = context->getCalendar(); 
    8080          
     
    8686 
    8787      void CDataOutput::writeFieldGrid 
    88          (const boost::shared_ptr<tree::CField> field) 
     88         (const boost::shared_ptr<CField> field) 
    8989      { 
    9090         this->writeGrid(field->getRelGrid()); 
     
    9393      //---------------------------------------------------------------- 
    9494       
    95       void CDataOutput::writeFieldData(const boost::shared_ptr<tree::CField> field) 
     95      void CDataOutput::writeFieldData(const boost::shared_ptr<CField> field) 
    9696      { 
    9797         boost::shared_ptr<CGrid> grid = 
  • XIOS/trunk/src/data_output.hpp

    r343 r345  
    2323 
    2424            /// Ecriture /// 
    25             void writeFile     (const boost::shared_ptr<tree::CFile>  file); 
     25            void writeFile     (const boost::shared_ptr<CFile>  file); 
    2626            void syncFile     (void); 
    2727            void closeFile     (void); 
    28             void writeField    (const boost::shared_ptr<tree::CField> field); 
    29             void writeFieldGrid(const boost::shared_ptr<tree::CField> field); 
    30             void writeFieldData(const boost::shared_ptr<tree::CField> field); 
     28            void writeField    (const boost::shared_ptr<CField> field); 
     29            void writeFieldGrid(const boost::shared_ptr<CField> field); 
     30            void writeFieldData(const boost::shared_ptr<CField> field); 
    3131 
    3232            virtual void definition_start(void) = 0; 
     
    3838 
    3939            /// Ecriture /// 
    40             void writeGrid(const boost::shared_ptr<tree::CGrid>   grid); 
    41             void writeGrid(const boost::shared_ptr<tree::CDomain> domain, 
    42                            const boost::shared_ptr<tree::CAxis>   axis); 
    43             void writeGrid(const boost::shared_ptr<tree::CDomain> domain); 
     40            void writeGrid(const boost::shared_ptr<CGrid>   grid); 
     41            void writeGrid(const boost::shared_ptr<CDomain> domain, 
     42                           const boost::shared_ptr<CAxis>   axis); 
     43            void writeGrid(const boost::shared_ptr<CDomain> domain); 
    4444 
    45             virtual void writeFile_       (const boost::shared_ptr<tree::CFile>     file)   = 0; 
     45            virtual void writeFile_       (const boost::shared_ptr<CFile>     file)   = 0; 
    4646            virtual void closeFile_       (void)                                            = 0; 
    4747            virtual void syncFile_       (void)                                            = 0; 
    48             virtual void writeField_      (const boost::shared_ptr<tree::CField>    field)  = 0; 
    49             virtual void writeFieldData_  (const boost::shared_ptr<tree::CField>    field)  = 0; 
    50             virtual void writeDomain_     (const boost::shared_ptr<tree::CDomain>   domain) = 0; 
    51             virtual void writeAxis_       (const boost::shared_ptr<tree::CAxis>     axis)   = 0; 
    52             virtual void writeTimeAxis_   (const boost::shared_ptr<tree::CField>    field, 
     48            virtual void writeField_      (const boost::shared_ptr<CField>    field)  = 0; 
     49            virtual void writeFieldData_  (const boost::shared_ptr<CField>    field)  = 0; 
     50            virtual void writeDomain_     (const boost::shared_ptr<CDomain>   domain) = 0; 
     51            virtual void writeAxis_       (const boost::shared_ptr<CAxis>     axis)   = 0; 
     52            virtual void writeTimeAxis_   (const boost::shared_ptr<CField>    field, 
    5353                                           const boost::shared_ptr<CCalendar> cal)    = 0; 
    5454 
  • XIOS/trunk/src/field_impl.hpp

    r343 r345  
    1010 
    1111namespace xios { 
    12 namespace tree { 
    1312 
    1413   template <StdSize N> 
     
    6059   } 
    6160 
    62 } // namespace tree 
    6361} // namespace xios 
    6462 
  • XIOS/trunk/src/generate_fortran_interface.cpp

    r313 r345  
    1111  string path="./interface/" ; 
    1212   
    13   CContext* context=tree::CTreeManager::CreateContext("interface").get(); 
     13  CContext* context=CTreeManager::CreateContext("interface").get(); 
    1414  CAxis axis ; 
    1515  CAxisGroup axisgroup ; 
  • XIOS/trunk/src/group_template.hpp

    r335 r345  
    99namespace xios 
    1010{ 
    11    using namespace tree; 
    1211 
    1312   /// ////////////////////// Déclarations ////////////////////// /// 
  • 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          
  • XIOS/trunk/src/interface/c/icaxis.cpp

    r335 r345  
    2020   // ----------------------- Redéfinition de types ---------------------------- 
    2121    
    22    typedef xios::tree::CAxis      * XAxisPtr; 
    23    typedef xios::tree::CAxisGroup * XAxisGroupPtr; 
     22   typedef xios::CAxis      * XAxisPtr; 
     23   typedef xios::CAxisGroup * XAxisGroupPtr; 
    2424 
    2525   // ------------------------ Création des handle ----------------------------- 
     
    3030      if (!cstr2string(_id, _id_len, id)) return; 
    3131 
    32       *_ret = xios::CObjectFactory::GetObject<xios::tree::CAxis>(id).get(); 
     32      *_ret = xios::CObjectFactory::GetObject<xios::CAxis>(id).get(); 
    3333   } 
    3434    
     
    3838      if (!cstr2string(_id, _id_len, id)) return; 
    3939 
    40       *_ret = xios::CObjectFactory::GetObject<xios::tree::CAxisGroup>(id).get(); 
     40      *_ret = xios::CObjectFactory::GetObject<xios::CAxisGroup>(id).get(); 
    4141   } 
    4242 
     
    4848      if (!cstr2string(_id, _id_len, id)) return; 
    4949 
    50       *_ret = xios::CObjectFactory::HasObject<xios::tree::CAxis>(id); 
     50      *_ret = xios::CObjectFactory::HasObject<xios::CAxis>(id); 
    5151   } 
    5252 
     
    5656      if (!cstr2string(_id, _id_len, id)) return; 
    5757 
    58       *_ret = xios::CObjectFactory::HasObject<xios::tree::CAxisGroup>(id); 
     58      *_ret = xios::CObjectFactory::HasObject<xios::CAxisGroup>(id); 
    5959   } 
    6060    
  • XIOS/trunk/src/interface/c/iccontext.cpp

    r335 r345  
    2424   typedef enum { D360 = 0 , ALLLEAP, NOLEAP, JULIAN, GREGORIAN } XCalendarType ; 
    2525 
    26    typedef xios::tree::CContext * XContextPtr; 
     26   typedef xios::CContext * XContextPtr; 
    2727 
    2828   // ------------------------ Création des handle ----------------------------- 
     
    3333      if (!cstr2string(_id, _id_len, id)) return; 
    3434 
    35       std::vector<boost::shared_ptr<xios::tree::CContext> > def_vector = 
    36             xios::tree::CContext::GetContextGroup()->getChildList(); 
     35      std::vector<boost::shared_ptr<xios::CContext> > def_vector = 
     36            xios::CContext::GetContextGroup()->getChildList(); 
    3737 
    3838      for (std::size_t i = 0; i < def_vector.size(); i++) 
     
    6060      if (!cstr2string(_id, _id_len, id)) return; 
    6161 
    62       std::vector<boost::shared_ptr<xios::tree::CContext> > def_vector = 
    63             xios::tree::CContext::GetContextGroup()->getChildList(); 
     62      std::vector<boost::shared_ptr<xios::CContext> > def_vector = 
     63            xios::CContext::GetContextGroup()->getChildList(); 
    6464 
    6565      for (std::size_t i = 0; i < def_vector.size(); i++) 
  • XIOS/trunk/src/interface/c/icdata.cpp

    r342 r345  
    3131   typedef enum { NETCDF4 = 0 } XFileType; 
    3232    
    33    typedef xios::tree::CContext * XContextPtr; 
     33   typedef xios::CContext * XContextPtr; 
    3434 
    3535   // -------------------- Traitement des données ------------------------------ 
  • XIOS/trunk/src/interface/c/icdate.cpp

    r343 r345  
    2626      { 
    2727         CDuration dur = {ts_year, ts_month, ts_day, ts_hour, ts_minute, ts_second}; 
    28          boost::shared_ptr<xios::tree::CContext> context = 
    29          xios::CObjectFactory::GetObject<xios::tree::CContext> 
     28         boost::shared_ptr<xios::CContext> context = 
     29         xios::CObjectFactory::GetObject<xios::CContext> 
    3030            (CObjectFactory::GetCurrentContextId()); 
    3131          
     
    4242   void cxios_update_calendar(int step) 
    4343   { 
    44       boost::shared_ptr<xios::tree::CContext> context = 
    45             xios::CObjectFactory::GetObject<xios::tree::CContext> 
     44      boost::shared_ptr<xios::CContext> context = 
     45            xios::CObjectFactory::GetObject<xios::CContext> 
    4646            (CObjectFactory::GetCurrentContextId()); 
    4747      context->updateCalendar(step) ; 
  • XIOS/trunk/src/interface/c/icdomain.cpp

    r335 r345  
    2020   // ----------------------- Redéfinition de types ---------------------------- 
    2121 
    22    typedef xios::tree::CDomain      * XDomainPtr; 
    23    typedef xios::tree::CDomainGroup * XDomainGroupPtr; 
     22   typedef xios::CDomain      * XDomainPtr; 
     23   typedef xios::CDomainGroup * XDomainGroupPtr; 
    2424 
    2525   // ------------------------ Création des handle ----------------------------- 
     
    3030      if (!cstr2string(_id, _id_len, id)) return; 
    3131 
    32       *_ret = xios::CObjectFactory::GetObject<xios::tree::CDomain>(id).get(); 
     32      *_ret = xios::CObjectFactory::GetObject<xios::CDomain>(id).get(); 
    3333   } 
    3434    
     
    3838      if (!cstr2string(_id, _id_len, id)) return; 
    3939 
    40       *_ret = xios::CObjectFactory::GetObject<xios::tree::CDomainGroup>(id).get(); 
     40      *_ret = xios::CObjectFactory::GetObject<xios::CDomainGroup>(id).get(); 
    4141   } 
    4242 
     
    4848      if (!cstr2string(_id, _id_len, id)) return; 
    4949 
    50       *_ret = xios::CObjectFactory::HasObject<xios::tree::CDomain>(id); 
     50      *_ret = xios::CObjectFactory::HasObject<xios::CDomain>(id); 
    5151   } 
    5252 
     
    5656      if (!cstr2string(_id, _id_len, id)) return; 
    5757 
    58       *_ret = xios::CObjectFactory::HasObject<xios::tree::CDomainGroup>(id); 
     58      *_ret = xios::CObjectFactory::HasObject<xios::CDomainGroup>(id); 
    5959   } 
    6060} // extern "C" 
  • XIOS/trunk/src/interface/c/icfield.cpp

    r335 r345  
    2020   // ----------------------- Redéfinition de types ---------------------------- 
    2121    
    22    typedef xios::tree::CField      * XFieldPtr; 
    23    typedef xios::tree::CFieldGroup * XFieldGroupPtr; 
     22   typedef xios::CField      * XFieldPtr; 
     23   typedef xios::CFieldGroup * XFieldGroupPtr; 
    2424    
    2525// --------------------------------------------------------------------------    
     
    3232      if (!cstr2string(_id, _id_len, id)) return; 
    3333 
    34       *_ret = xios::CObjectFactory::GetObject<xios::tree::CField>(id).get(); 
     34      *_ret = xios::CObjectFactory::GetObject<xios::CField>(id).get(); 
    3535   } 
    3636    
     
    4040      if (!cstr2string(_id, _id_len, id)) return; 
    4141 
    42       *_ret = xios::CObjectFactory::GetObject<xios::tree::CFieldGroup>(id).get(); 
     42      *_ret = xios::CObjectFactory::GetObject<xios::CFieldGroup>(id).get(); 
    4343   } 
    4444 
     
    5151      if (!cstr2string(_id, _id_len, id)) return; 
    5252 
    53       *_ret = xios::CObjectFactory::HasObject<xios::tree::CField>(id); 
     53      *_ret = xios::CObjectFactory::HasObject<xios::CField>(id); 
    5454   } 
    5555 
     
    5959      if (!cstr2string(_id, _id_len, id)) return; 
    6060 
    61       *_ret = xios::CObjectFactory::HasObject<xios::tree::CFieldGroup>(id); 
     61      *_ret = xios::CObjectFactory::HasObject<xios::CFieldGroup>(id); 
    6262   } 
    6363 
  • XIOS/trunk/src/interface/c/icfile.cpp

    r335 r345  
    2020   // ----------------------- Redéfinition de types ---------------------------- 
    2121    
    22    typedef xios::tree::CFile      * XFilePtr; 
    23    typedef xios::tree::CFileGroup * XFileGroupPtr; 
     22   typedef xios::CFile      * XFilePtr; 
     23   typedef xios::CFileGroup * XFileGroupPtr; 
    2424 
    2525   // ------------------------ Création des handle ----------------------------- 
     
    3030      if (!cstr2string(_id, _id_len, id)) return; 
    3131 
    32       *_ret = xios::CObjectFactory::GetObject<xios::tree::CFile>(id).get(); 
     32      *_ret = xios::CObjectFactory::GetObject<xios::CFile>(id).get(); 
    3333   } 
    3434    
     
    3838      if (!cstr2string(_id, _id_len, id)) return; 
    3939 
    40       *_ret = xios::CObjectFactory::GetObject<xios::tree::CFileGroup>(id).get(); 
     40      *_ret = xios::CObjectFactory::GetObject<xios::CFileGroup>(id).get(); 
    4141   } 
    4242 
     
    4848      if (!cstr2string(_id, _id_len, id)) return; 
    4949 
    50       *_ret = xios::CObjectFactory::HasObject<xios::tree::CFile>(id); 
     50      *_ret = xios::CObjectFactory::HasObject<xios::CFile>(id); 
    5151   } 
    5252 
     
    5656      if (!cstr2string(_id, _id_len, id)) return; 
    5757 
    58       *_ret = xios::CObjectFactory::HasObject<xios::tree::CFileGroup>(id); 
     58      *_ret = xios::CObjectFactory::HasObject<xios::CFileGroup>(id); 
    5959   } 
    6060} // extern "C" 
  • XIOS/trunk/src/interface/c/icgrid.cpp

    r335 r345  
    2020   // ----------------------- Redéfinition de types ---------------------------- 
    2121    
    22    typedef xios::tree::CGrid      * XGridPtr; 
    23    typedef xios::tree::CGridGroup * XGridGroupPtr; 
     22   typedef xios::CGrid      * XGridPtr; 
     23   typedef xios::CGridGroup * XGridGroupPtr; 
    2424 
    2525   // ------------------------ Création des handle ----------------------------- 
     
    3030      if (!cstr2string(_id, _id_len, id)) return; 
    3131 
    32       *_ret = xios::CObjectFactory::GetObject<xios::tree::CGrid>(id).get(); 
     32      *_ret = xios::CObjectFactory::GetObject<xios::CGrid>(id).get(); 
    3333   } 
    3434    
     
    3838      if (!cstr2string(_id, _id_len, id)) return; 
    3939 
    40       *_ret = xios::CObjectFactory::GetObject<xios::tree::CGridGroup>(id).get(); 
     40      *_ret = xios::CObjectFactory::GetObject<xios::CGridGroup>(id).get(); 
    4141   } 
    4242 
     
    4848      if (!cstr2string(_id, _id_len, id)) return; 
    4949 
    50       *_ret = xios::CObjectFactory::HasObject<xios::tree::CGrid>(id); 
     50      *_ret = xios::CObjectFactory::HasObject<xios::CGrid>(id); 
    5151   } 
    5252 
     
    5656      if (!cstr2string(_id, _id_len, id)) return; 
    5757 
    58       *_ret = xios::CObjectFactory::HasObject<xios::tree::CGridGroup>(id); 
     58      *_ret = xios::CObjectFactory::HasObject<xios::CGridGroup>(id); 
    5959   } 
    6060} // extern "C" 
  • XIOS/trunk/src/interface/c/icxml_tree.cpp

    r335 r345  
    2020   // ----------------------- Redéfinition de types ---------------------------- 
    2121 
    22    typedef xios::tree::CContext * XContextPtr; 
    23  
    24    typedef xios::tree::CGrid      * XGridPtr; 
    25    typedef xios::tree::CGridGroup * XGridGroupPtr; 
    26  
    27    typedef xios::tree::CFile      * XFilePtr; 
    28    typedef xios::tree::CFileGroup * XFileGroupPtr; 
    29  
    30    typedef xios::tree::CField      * XFieldPtr; 
    31    typedef xios::tree::CFieldGroup * XFieldGroupPtr; 
    32  
    33    typedef xios::tree::CDomain      * XDomainPtr; 
    34    typedef xios::tree::CDomainGroup * XDomainGroupPtr; 
    35  
    36    typedef xios::tree::CAxis      * XAxisPtr; 
    37    typedef xios::tree::CAxisGroup * XAxisGroupPtr; 
     22   typedef xios::CContext * XContextPtr; 
     23 
     24   typedef xios::CGrid      * XGridPtr; 
     25   typedef xios::CGridGroup * XGridGroupPtr; 
     26 
     27   typedef xios::CFile      * XFilePtr; 
     28   typedef xios::CFileGroup * XFileGroupPtr; 
     29 
     30   typedef xios::CField      * XFieldPtr; 
     31   typedef xios::CFieldGroup * XFieldGroupPtr; 
     32 
     33   typedef xios::CDomain      * XDomainPtr; 
     34   typedef xios::CDomainGroup * XDomainGroupPtr; 
     35 
     36   typedef xios::CAxis      * XAxisPtr; 
     37   typedef xios::CAxisGroup * XAxisGroupPtr; 
    3838    
    3939   // ----------------------- Ajout d'enfant à un parent ----------------------- 
  • XIOS/trunk/src/interface/c_attr/icaxis_attr.cpp

    r335 r345  
    1313extern "C" 
    1414{ 
    15   typedef xios::tree::CAxis*  axis_Ptr; 
     15  typedef xios::CAxis*  axis_Ptr; 
    1616   
    1717  void cxios_set_axis_long_name(axis_Ptr axis_hdl, const char * long_name, int long_name_size) 
  • XIOS/trunk/src/interface/c_attr/icaxisgroup_attr.cpp

    r335 r345  
    1313extern "C" 
    1414{ 
    15   typedef xios::tree::CAxisGroup*  axisgroup_Ptr; 
     15  typedef xios::CAxisGroup*  axisgroup_Ptr; 
    1616   
    1717  void cxios_set_axisgroup_group_ref(axisgroup_Ptr axisgroup_hdl, const char * group_ref, int group_ref_size) 
  • XIOS/trunk/src/interface/c_attr/iccontext_attr.cpp

    r336 r345  
    1313extern "C" 
    1414{ 
    15   typedef xios::tree::CContext*  context_Ptr; 
     15  typedef xios::CContext*  context_Ptr; 
    1616   
    1717  void cxios_set_context_calendar_type(context_Ptr context_hdl, const char * calendar_type, int calendar_type_size) 
  • XIOS/trunk/src/interface/c_attr/icdomain_attr.cpp

    r335 r345  
    1313extern "C" 
    1414{ 
    15   typedef xios::tree::CDomain*  domain_Ptr; 
     15  typedef xios::CDomain*  domain_Ptr; 
    1616   
    1717  void cxios_set_domain_data_dim(domain_Ptr domain_hdl, int data_dim) 
  • XIOS/trunk/src/interface/c_attr/icdomaingroup_attr.cpp

    r335 r345  
    1313extern "C" 
    1414{ 
    15   typedef xios::tree::CDomainGroup*  domaingroup_Ptr; 
     15  typedef xios::CDomainGroup*  domaingroup_Ptr; 
    1616   
    1717  void cxios_set_domaingroup_data_dim(domaingroup_Ptr domaingroup_hdl, int data_dim) 
  • XIOS/trunk/src/interface/c_attr/icfield_attr.cpp

    r335 r345  
    1313extern "C" 
    1414{ 
    15   typedef xios::tree::CField*  field_Ptr; 
     15  typedef xios::CField*  field_Ptr; 
    1616   
    1717  void cxios_set_field_axis_ref(field_Ptr field_hdl, const char * axis_ref, int axis_ref_size) 
  • XIOS/trunk/src/interface/c_attr/icfieldgroup_attr.cpp

    r335 r345  
    1313extern "C" 
    1414{ 
    15   typedef xios::tree::CFieldGroup*  fieldgroup_Ptr; 
     15  typedef xios::CFieldGroup*  fieldgroup_Ptr; 
    1616   
    1717  void cxios_set_fieldgroup_axis_ref(fieldgroup_Ptr fieldgroup_hdl, const char * axis_ref, int axis_ref_size) 
  • XIOS/trunk/src/interface/c_attr/icfile_attr.cpp

    r336 r345  
    1313extern "C" 
    1414{ 
    15   typedef xios::tree::CFile*  file_Ptr; 
     15  typedef xios::CFile*  file_Ptr; 
    1616   
    1717  void cxios_set_file_description(file_Ptr file_hdl, const char * description, int description_size) 
  • XIOS/trunk/src/interface/c_attr/icfilegroup_attr.cpp

    r336 r345  
    1313extern "C" 
    1414{ 
    15   typedef xios::tree::CFileGroup*  filegroup_Ptr; 
     15  typedef xios::CFileGroup*  filegroup_Ptr; 
    1616   
    1717  void cxios_set_filegroup_description(filegroup_Ptr filegroup_hdl, const char * description, int description_size) 
  • XIOS/trunk/src/interface/c_attr/icgrid_attr.cpp

    r335 r345  
    1313extern "C" 
    1414{ 
    15   typedef xios::tree::CGrid*  grid_Ptr; 
     15  typedef xios::CGrid*  grid_Ptr; 
    1616   
    1717  void cxios_set_grid_axis_ref(grid_Ptr grid_hdl, const char * axis_ref, int axis_ref_size) 
  • XIOS/trunk/src/interface/c_attr/icgridgroup_attr.cpp

    r335 r345  
    1313extern "C" 
    1414{ 
    15   typedef xios::tree::CGridGroup*  gridgroup_Ptr; 
     15  typedef xios::CGridGroup*  gridgroup_Ptr; 
    1616   
    1717  void cxios_set_gridgroup_axis_ref(gridgroup_Ptr gridgroup_hdl, const char * axis_ref, int axis_ref_size) 
  • XIOS/trunk/src/manager/tree_manager.cpp

    r335 r345  
    77namespace xios 
    88{ 
    9    namespace tree 
    10    { 
    119      /// ////////////////////// Définitions ////////////////////// /// 
    1210 
     
    2321         bool hasctxt = CObjectFactory::HasObject<CContext>(id); 
    2422          
    25          boost::shared_ptr<tree::CContext> context = 
    26                CObjectFactory::CreateObject<tree::CContext>(id); 
     23         boost::shared_ptr<CContext> context = 
     24               CObjectFactory::CreateObject<CContext>(id); 
    2725         if (!hasctxt) CGroupFactory::AddChild(group_context, context); 
    2826 
     
    4644      { 
    4745         StdOStringStream ostrstream; 
    48          tree::CContext::ShowTree(ostrstream); 
     46         CContext::ShowTree(ostrstream); 
    4947         content.assign(CIndentedXml::Indented(ostrstream.str())); 
    5048      } 
     
    5351      { 
    5452         StdOStringStream ostrstream; 
    55          tree::CContext::ShowTree(ostrstream); 
     53         CContext::ShowTree(ostrstream); 
    5654         out << CIndentedXml::Indented(ostrstream.str()); 
    5755      } 
     
    133131         { 
    134132            bool hid = false; 
    135             is.read (reinterpret_cast<char*>(&renum), sizeof(tree::ENodeType)); 
     133            is.read (reinterpret_cast<char*>(&renum), sizeof(ENodeType)); 
    136134            is.read (reinterpret_cast<char*>(&hid), sizeof(bool)); 
    137135             
     
    395393      ///------------------------------------------------------------- 
    396394 
    397    } // namespace tree 
    398395} // namespace xios 
  • XIOS/trunk/src/manager/tree_manager.hpp

    r335 r345  
    1313namespace xios 
    1414{ 
    15    namespace tree 
    16    { 
    1715      /// ////////////////////// Déclarations ////////////////////// /// 
    1816      class CTreeManager 
     
    5048      }; // class CTreeManager 
    5149 
    52    } // namespace tree 
    5350} // namespace xios 
    5451 
  • XIOS/trunk/src/node/axis.cpp

    r335 r345  
    66 
    77namespace xios { 
    8 namespace tree { 
    98    
    109   /// ////////////////////// Définitions ////////////////////// /// 
     
    6261   ///--------------------------------------------------------------- 
    6362 
    64 } // namespace tree 
    6563} // namespace xios 
  • XIOS/trunk/src/node/axis.hpp

    r335 r345  
    99 
    1010namespace xios { 
    11 namespace tree { 
    1211    
    1312   /// ////////////////////// Déclarations ////////////////////// /// 
     
    8180   ///-------------------------------------------------------------- 
    8281 
    83 } // namespace tree 
    8482} // namespace xios 
    8583 
  • XIOS/trunk/src/node/context.cpp

    r344 r345  
    1414 
    1515namespace xios { 
    16 namespace tree { 
    1716    
    1817   /// ////////////////////// Définitions ////////////////////// /// 
     
    547546   } 
    548547    
    549 } // namespace tree 
    550548} // namespace xios 
  • XIOS/trunk/src/node/context.hpp

    r344 r345  
    1919   class CContextServer ; 
    2020    
    21 namespace tree { 
    2221    
    2322   /// ////////////////////// Déclarations ////////////////////// /// 
     
    155154   ///-------------------------------------------------------------- 
    156155 
    157 } // namespace tree 
    158156} // namespace xios 
    159157 
  • XIOS/trunk/src/node/domain.cpp

    r335 r345  
    1212 
    1313namespace xios { 
    14 namespace tree { 
    1514    
    1615   /// ////////////////////// Définitions ////////////////////// /// 
     
    10681067   ///--------------------------------------------------------------- 
    10691068 
    1070 } // namespace tree 
    10711069} // namespace xios 
  • XIOS/trunk/src/node/domain.hpp

    r335 r345  
    1212 
    1313namespace xios { 
    14 namespace tree { 
    1514    
    1615   /// ////////////////////// Déclarations ////////////////////// /// 
     
    164163   ///-------------------------------------------------------------- 
    165164 
    166 } // namespace tree 
    167165} // namespace xios 
    168166 
  • XIOS/trunk/src/node/field.cpp

    r343 r345  
    99 
    1010namespace xios{ 
    11 namespace tree { 
    1211    
    1312   /// ////////////////////// Définitions ////////////////////// /// 
     
    506505   } 
    507506 
    508    } // namespace tree 
    509507 
    510508   ///------------------------------------------------------------------- 
  • XIOS/trunk/src/node/field.hpp

    r343 r345  
    1515 
    1616namespace xios { 
    17 namespace tree { 
    1817    
    1918   /// ////////////////////// Déclarations ////////////////////// /// 
     
    156155   DECLARE_GROUP(CField); 
    157156 
    158    } // namespace tree 
    159  
    160157   ///----------------------------------------------------------------- 
    161158 
  • XIOS/trunk/src/node/file.cpp

    r343 r345  
    1616 
    1717namespace xios { 
    18 namespace tree { 
    1918    
    2019   /// ////////////////////// Définitions ////////////////////// /// 
     
    501500   ///--------------------------------------------------------------- 
    502501 
    503 } // namespace tree 
    504502} // namespace xios 
  • XIOS/trunk/src/node/file.hpp

    r343 r345  
    1212 
    1313namespace xios { 
    14 namespace tree { 
    1514    
    1615   /// ////////////////////// Déclarations ////////////////////// /// 
     
    131130   ///-------------------------------------------------------------- 
    132131 
    133 } // namespace tree 
    134132} // namespace xios 
    135133 
  • XIOS/trunk/src/node/grid.cpp

    r335 r345  
    88 
    99namespace xios { 
    10 namespace tree { 
    1110 
    1211   /// ////////////////////// Définitions ////////////////////// /// 
     
    699698   ///--------------------------------------------------------------- 
    700699 
    701 } // namespace tree 
    702700} // namespace xios 
  • XIOS/trunk/src/node/grid.hpp

    r335 r345  
    1111 
    1212namespace xios { 
    13 namespace tree { 
    1413    
    1514   /// ////////////////////// Déclarations ////////////////////// /// 
     
    178177   ///-------------------------------------------------------------- 
    179178 
    180 } // namespace tree 
    181179} // namespace xios 
    182180 
  • XIOS/trunk/src/node/method.hpp

    r335 r345  
    44namespace xios 
    55{ 
    6    namespace tree 
    7    { 
    86      /// ////////////////////// Déclarations ////////////////////// /// 
    97 
     
    9795      StdString CMethod::GetDefName(void){ return (CMethod::GetName()); } 
    9896 
    99    } // namespace tree 
    10097} // namespace xios 
    10198 
  • XIOS/trunk/src/node/node_enum.hpp

    r335 r345  
    77namespace xios 
    88{ 
    9    namespace tree 
    10    { 
    119      /// ////////////////////// Définitions ////////////////////// /// 
    1210      typedef enum _node_type 
     
    2523      } ENodeType; 
    2624 
    27    } // namespace tree 
    2825} // namespace xios 
    2926 
  • XIOS/trunk/src/node/var.hpp

    r335 r345  
    44namespace xios 
    55{ 
    6    namespace tree 
    7    { 
    86      /// ////////////////////// Déclarations ////////////////////// /// 
    97 
     
    9795      StdString CVar::GetDefName(void){ return (CVar::GetName()); } 
    9896 
    99    } // namespace tree 
    10097} // namespace xios 
    10198 
  • XIOS/trunk/src/node/variable.cpp

    r335 r345  
    99 
    1010namespace xios { 
    11 namespace tree { 
    1211 
    1312   /// ////////////////////// Définitions ////////////////////// /// 
     
    113112   } 
    114113 
    115 } // namespace tree 
    116114} // namespace xios 
  • XIOS/trunk/src/node/variable.hpp

    r335 r345  
    1010namespace xios 
    1111{ 
    12    namespace tree 
    13    { 
    1412      /// ////////////////////// Déclarations ////////////////////// /// 
    1513 
     
    112110 
    113111 
    114    } // namespace tree 
    115112} // namespace xios 
    116113 
  • XIOS/trunk/src/object_template.hpp

    r335 r345  
    1616      class CObjectTemplate 
    1717         : public CObject 
    18          , public virtual tree::CAttributeMap 
     18         , public virtual CAttributeMap 
    1919   { 
    2020 
     
    2323 
    2424         /// Typedef /// 
    25          typedef tree::CAttributeMap SuperClassMap; 
     25         typedef CAttributeMap SuperClassMap; 
    2626         typedef CObject SuperClass; 
    2727         typedef T DerivedType; 
     
    4444          
    4545         /// Accesseurs /// 
    46          tree::ENodeType getType(void) const; 
     46         ENodeType getType(void) const; 
    4747 
    4848         /// Test /// 
     
    5555         static void ClearAllAttributes(void); 
    5656         void sendAttributToServer(const string& id); 
    57          void sendAttributToServer(tree::CAttribute& attr) ; 
     57         void sendAttributToServer(CAttribute& attr) ; 
    5858         static void recvAttributFromClient(CEventServer& event) ; 
    5959         static bool dispatchEvent(CEventServer& event) ; 
  • XIOS/trunk/src/object_template_impl.hpp

    r335 r345  
    3333   template <class T> 
    3434      CObjectTemplate<T>::CObjectTemplate(void) 
    35          : tree::CAttributeMap() 
     35         : CAttributeMap() 
    3636         , CObject() 
    3737   { /* Ne rien faire de plus */ } 
     
    3939   template <class T> 
    4040      CObjectTemplate<T>::CObjectTemplate(const StdString & id) 
    41          : tree::CAttributeMap() 
     41         : CAttributeMap() 
    4242         , CObject(id) 
    4343   { /* Ne rien faire de plus */ } 
     
    4646      CObjectTemplate<T>::CObjectTemplate 
    4747         (const CObjectTemplate<T> & object, bool withAttrList, bool withId) 
    48          : tree::CAttributeMap() 
     48         : CAttributeMap() 
    4949         , CObject() 
    5050   { 
     
    113113 
    114114   template <class T> 
    115       tree::ENodeType CObjectTemplate<T>::getType(void) const 
     115      ENodeType CObjectTemplate<T>::getType(void) const 
    116116   { 
    117117      return (T::GetType()); 
     
    166166 
    167167   template <class T> 
    168    void CObjectTemplate<T>::sendAttributToServer(tree::CAttribute& attr) 
     168   void CObjectTemplate<T>::sendAttributToServer(CAttribute& attr) 
    169169   { 
    170170     shared_ptr<CContext> context=CObjectFactory::GetObject<CContext>(CObjectFactory::GetCurrentContextId()) ; 
     
    270270     oss<<"extern \"C\""<<iendl ; 
    271271     oss<<"{"<<iendl++ ; 
    272      oss<<"typedef xios::tree::"<<getStrType<T>()<<"*  "<<className<<"_Ptr;"<<iendl; 
     272     oss<<"typedef xios::"<<getStrType<T>()<<"*  "<<className<<"_Ptr;"<<iendl; 
    273273     oss<<iendl ; 
    274274     SuperClassMap::generateCInterface(oss,className) ; 
  • XIOS/trunk/src/output/nc4_data_output.cpp

    r343 r345  
    5555      //--------------------------------------------------------------- 
    5656 
    57       void CNc4DataOutput::writeDomain_(const boost::shared_ptr<tree::CDomain> domain) 
     57      void CNc4DataOutput::writeDomain_(const boost::shared_ptr<CDomain> domain) 
    5858      { 
    5959         shared_ptr<CContext> context=CObjectFactory::GetObject<CContext>(CObjectFactory::GetCurrentContextId()) ; 
     
    221221      //-------------------------------------------------------------- 
    222222 
    223       void CNc4DataOutput::writeAxis_(const boost::shared_ptr<tree::CAxis> axis) 
     223      void CNc4DataOutput::writeAxis_(const boost::shared_ptr<CAxis> axis) 
    224224      { 
    225225         if (axis->IsWritten(this->filename)) return; 
     
    269269      //-------------------------------------------------------------- 
    270270 
    271       void CNc4DataOutput::writeField_(const boost::shared_ptr<tree::CField> field) 
     271      void CNc4DataOutput::writeField_(const boost::shared_ptr<CField> field) 
    272272      { 
    273273         shared_ptr<CContext> context=CObjectFactory::GetObject<CContext>(CObjectFactory::GetCurrentContextId()) ; 
     
    418418      //-------------------------------------------------------------- 
    419419 
    420       void CNc4DataOutput::writeFile_ (const boost::shared_ptr<tree::CFile> file) 
     420      void CNc4DataOutput::writeFile_ (const boost::shared_ptr<CFile> file) 
    421421      { 
    422422         StdString filename = (!file->name.isEmpty()) 
     
    461461      //--------------------------------------------------------------- 
    462462       
    463       void CNc4DataOutput::writeFieldData_ (const boost::shared_ptr<tree::CField>  field) 
     463      void CNc4DataOutput::writeFieldData_ (const boost::shared_ptr<CField>  field) 
    464464      { 
    465465         shared_ptr<CContext> context=CObjectFactory::GetObject<CContext>(CObjectFactory::GetCurrentContextId()) ; 
     
    561561 
    562562      void CNc4DataOutput::writeTimeAxis_ 
    563                   (const boost::shared_ptr<tree::CField>    field, 
     563                  (const boost::shared_ptr<CField>    field, 
    564564                   const boost::shared_ptr<CCalendar> cal) 
    565565      { 
  • XIOS/trunk/src/output/nc4_data_output.hpp

    r343 r345  
    4040 
    4141            /// Ecriture /// 
    42             virtual void writeDomain_    (const boost::shared_ptr<tree::CDomain>   domain); 
    43             virtual void writeAxis_      (const boost::shared_ptr<tree::CAxis>     axis); 
    44             virtual void writeField_     (const boost::shared_ptr<tree::CField>    field); 
    45             virtual void writeFieldData_ (const boost::shared_ptr<tree::CField>    field); 
    46             virtual void writeFile_      (const boost::shared_ptr<tree::CFile>     file); 
     42            virtual void writeDomain_    (const boost::shared_ptr<CDomain>   domain); 
     43            virtual void writeAxis_      (const boost::shared_ptr<CAxis>     axis); 
     44            virtual void writeField_     (const boost::shared_ptr<CField>    field); 
     45            virtual void writeFieldData_ (const boost::shared_ptr<CField>    field); 
     46            virtual void writeFile_      (const boost::shared_ptr<CFile>     file); 
    4747            virtual void closeFile_      (void); 
    4848            virtual void syncFile_      (void); 
    49             virtual void writeTimeAxis_  (const boost::shared_ptr<tree::CField>    field, 
     49            virtual void writeTimeAxis_  (const boost::shared_ptr<CField>    field, 
    5050                                          const boost::shared_ptr<CCalendar> cal); 
    5151 
  • XIOS/trunk/src/output/onetcdf4.hpp

    r337 r345  
    8383 
    8484            /// Ecriture /// 
    85             virtual void writeField_ (const boost::shared_ptr<tree::CField>  field)  = 0; 
    86             virtual void writeDomain_(const boost::shared_ptr<tree::CDomain> domain) = 0; 
    87             virtual void writeAxis_  (const boost::shared_ptr<tree::CAxis>   axis)   = 0; 
     85            virtual void writeField_ (const boost::shared_ptr<CField>  field)  = 0; 
     86            virtual void writeDomain_(const boost::shared_ptr<CDomain> domain) = 0; 
     87            virtual void writeAxis_  (const boost::shared_ptr<CAxis>   axis)   = 0; 
    8888 
    8989            /// Accesseurs /// 
  • XIOS/trunk/src/server.cpp

    r342 r345  
    346346              <<"Context has already been registred") ; 
    347347       
    348       shared_ptr<CContext> context=tree::CTreeManager::CreateContext(contextId) ; 
     348      shared_ptr<CContext> context=CTreeManager::CreateContext(contextId) ; 
    349349      contextList[contextId]=context.get() ; 
    350350      context->initServer(intraComm,contextIntercomm) ; 
  • XIOS/trunk/src/type/type_util.hpp

    r335 r345  
    55namespace xios 
    66{ 
    7   namespace tree 
    8   { 
    97    class CDomain ; 
    108    class CDomainGroup; 
     
    1816    class CFileGroup; 
    1917    class CContext; 
    20   } 
    2118 
    22 /* 
    23   typedef tree::CDomain CDomain; 
    24   typedef tree::CDomainGroup CDomainGroup; 
    25   typedef tree::CField CField; 
    26   typedef tree::CFieldGroup CFieldGroup; 
    27   typedef tree::CGrid CGrid; 
    28   typedef tree::CGridGroup CGridGroup; 
    29   typedef tree::CAxis CAxis; 
    30   typedef tree::CAxisGroup CAxisGroup; 
    31   typedef tree::CFile CFile; 
    32   typedef tree::CFileGroup CFileGroup; 
    33   typedef tree::CContext CContext; 
    34 */ 
    3519         
    3620  template <typename T> 
     
    5438#undef macro 
    5539   
    56 #define macro(T) template <> inline string getStrType<tree::T>(void) { return std::string(#T) ; } 
     40#define macro(T) template <> inline string getStrType<T>(void) { return std::string(#T) ; } 
    5741  macro(CDomain) 
    5842  macro(CDomainGroup) 
  • XIOS/trunk/src/xml_parser.cpp

    r335 r345  
    5252               do 
    5353               { 
    54                   boost::shared_ptr<tree::CContextGroup> group_context = 
    55                                     tree::CContext::GetContextGroup(); 
     54                  boost::shared_ptr<CContextGroup> group_context = 
     55                                    CContext::GetContextGroup(); 
    5656                  attributes = node.getAttributes(); 
    5757 
     
    6565                  CGroupFactory::SetCurrentContextId(attributes["id"]); 
    6666 
    67                   bool hasctxt = CObjectFactory::HasObject<tree::CContext>(attributes["id"]); 
     67                  bool hasctxt = CObjectFactory::HasObject<CContext>(attributes["id"]); 
    6868 
    6969                  if(hasctxt) 
     
    7474                  } 
    7575 
    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"]); 
    7878                  if (!hasctxt) CGroupFactory::AddChild(group_context, context); 
    7979                  context->parse(node); 
  • XIOS/trunk/src/xmlioserver.hpp

    r337 r345  
    88#include "nc4_data_output.hpp" 
    99 
    10 //#include "data_manager.hpp" 
    11 //#include "time_manager.hpp" 
    1210 
    1311using namespace xios; 
    14 using namespace xios::data; 
    15 using namespace xios::tree; 
    1612using namespace xios::xml; 
    1713using namespace xios::func; 
Note: See TracChangeset for help on using the changeset viewer.