Ignore:
Timestamp:
03/22/18 10:43:20 (6 years ago)
Author:
yushan
Message:

branch_openmp merged with XIOS_DEV_CMIP6@1459

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/src/xml_node.hpp

    r1334 r1460  
    1010namespace xios 
    1111{ 
    12   namespace xml 
    13   { 
    14     /// ////////////////////// Déclarations ////////////////////// /// 
    15     typedef xios_map<StdString, StdString> THashAttributes; 
     12   namespace xml 
     13   { 
     14      /// ////////////////////// Déclarations ////////////////////// /// 
     15      typedef xios_map<StdString, StdString> THashAttributes; 
    1616 
    17     class CXMLNode 
    18     { 
    19       public : 
     17      class CXMLNode 
     18      { 
     19         public : 
    2020 
    21         /// Constructeurs /// 
    22         CXMLNode(rapidxml::xml_node<char> * const root); 
     21            /// Constructeurs /// 
     22            CXMLNode(rapidxml::xml_node<char> * const root); 
    2323 
    24         /// Destructeur /// 
    25         ~CXMLNode(void); 
     24            /// Destructeur /// 
     25            ~CXMLNode(void); 
    2626 
    27         /// Accesseurs /// 
    28         StdString getElementName(void) const; 
    29         THashAttributes getAttributes(void) const; 
     27            /// Accesseurs /// 
     28            StdString getElementName(void) const; 
     29            THashAttributes getAttributes(void) const; 
    3030 
    31         /// Mutateurs /// 
    32         bool goToNextElement(void); 
    33         bool goToChildElement(void); 
    34         bool goToParentElement(void); 
    35         bool getContent(StdString & content); 
     31            /// Mutateurs /// 
     32            bool goToNextElement(void); 
     33            bool goToChildElement(void); 
     34            bool goToParentElement(void); 
     35            bool getContent(StdString & content); 
    3636 
    37         /// Accesseurs statiques /// 
    38         static const StdString & GetRootName(void); 
     37            /// Accesseurs statiques /// 
     38            static const StdString & GetRootName(void); 
    3939 
    40       private : 
     40         private : 
    4141 
    42         /// Constructeurs /// 
    43         CXMLNode(void);                        // Not implemented yet. 
    44         CXMLNode(const CXMLNode & node);       // Not implemented yet. 
    45         CXMLNode(const CXMLNode * const node); // Not implemented yet. 
     42            /// Constructeurs /// 
     43            CXMLNode(void);                        // Not implemented yet. 
     44            CXMLNode(const CXMLNode & node);       // Not implemented yet. 
     45            CXMLNode(const CXMLNode * const node); // Not implemented yet. 
    4646 
    47         rapidxml::xml_node<char> * node; 
    48         int level; 
     47            rapidxml::xml_node<char> * node; 
     48            int level; 
    4949 
    50         static StdString RootName; 
    51         //#pragma omp threadprivate(RootName) 
     50            static StdString RootName; 
    5251 
    53     }; //class CXMLParser 
    54   
    55   }// namespace xml 
     52      }; //class CXMLParser 
     53 
     54   }// namespace xml 
    5655} // namespace xios 
    5756 
Note: See TracChangeset for help on using the changeset viewer.