Changeset 1460 for XIOS/dev/branch_openmp/src/indent_xml.hpp
- Timestamp:
- 03/22/18 10:43:20 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/src/indent_xml.hpp
r1331 r1460 8 8 namespace xios 9 9 { 10 /// ////////////////////// Déclarations ////////////////////// ///11 class CIndent12 {13 public :10 /// ////////////////////// Déclarations ////////////////////// /// 11 class CIndent 12 { 13 public : 14 14 15 /// Méthodes statiques ///16 static StdOStream & NIndent (StdOStream & out);17 static StdOStream & IncIndent(StdOStream & out);18 static StdOStream & DecEndl (StdOStream & out);15 /// Méthodes statiques /// 16 static StdOStream & NIndent (StdOStream & out); 17 static StdOStream & IncIndent(StdOStream & out); 18 static StdOStream & DecEndl (StdOStream & out); 19 19 20 private :20 private : 21 21 22 /// Propriétés statiques ///23 static unsigned int Indent;24 #pragma omp threadprivate(Indent)25 static StdString Increm;26 #pragma omp threadprivate(Increm)27 static bool WithLine;28 #pragma omp threadprivate(WithLine)22 /// Propriétés statiques /// 23 static unsigned int Indent; 24 #pragma omp threadprivate(Indent) 25 static StdString Increm; 26 #pragma omp threadprivate(Increm) 27 static bool WithLine; 28 #pragma omp threadprivate(WithLine) 29 29 30 }; // class CIndent30 }; // class CIndent 31 31 32 ///--------------------------------------------------------------32 ///-------------------------------------------------------------- 33 33 34 class CIndentedXml 35 { 36 public : 37 /// Méthode statique /// 38 static StdString Indented(const StdString & content); 34 class CIndentedXml 35 { 36 public : 39 37 40 }; // class CIndentedXml 38 /// Méthode statique /// 39 static StdString Indented(const StdString & content); 41 40 42 ///-------------------------------------------------------------- 41 }; // class CIndentedXml 42 43 ///-------------------------------------------------------------- 43 44 44 45 } // namespace xios
Note: See TracChangeset
for help on using the changeset viewer.