Changeset 1460 for XIOS/dev/branch_openmp/src/xml_node.hpp
- Timestamp:
- 03/22/18 10:43:20 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/src/xml_node.hpp
r1334 r1460 10 10 namespace xios 11 11 { 12 namespace xml13 {14 /// ////////////////////// Déclarations ////////////////////// ///15 typedef xios_map<StdString, StdString> THashAttributes;12 namespace xml 13 { 14 /// ////////////////////// Déclarations ////////////////////// /// 15 typedef xios_map<StdString, StdString> THashAttributes; 16 16 17 class CXMLNode18 {19 public :17 class CXMLNode 18 { 19 public : 20 20 21 /// Constructeurs ///22 CXMLNode(rapidxml::xml_node<char> * const root);21 /// Constructeurs /// 22 CXMLNode(rapidxml::xml_node<char> * const root); 23 23 24 /// Destructeur ///25 ~CXMLNode(void);24 /// Destructeur /// 25 ~CXMLNode(void); 26 26 27 /// Accesseurs ///28 StdString getElementName(void) const;29 THashAttributes getAttributes(void) const;27 /// Accesseurs /// 28 StdString getElementName(void) const; 29 THashAttributes getAttributes(void) const; 30 30 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); 36 36 37 /// Accesseurs statiques ///38 static const StdString & GetRootName(void);37 /// Accesseurs statiques /// 38 static const StdString & GetRootName(void); 39 39 40 private :40 private : 41 41 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. 46 46 47 rapidxml::xml_node<char> * node;48 int level;47 rapidxml::xml_node<char> * node; 48 int level; 49 49 50 static StdString RootName; 51 //#pragma omp threadprivate(RootName) 50 static StdString RootName; 52 51 53 }; //class CXMLParser54 55 }// namespace xml52 }; //class CXMLParser 53 54 }// namespace xml 56 55 } // namespace xios 57 56
Note: See TracChangeset
for help on using the changeset viewer.