source: XIOS/dev/branch_openmp/src/xml_parser.hpp @ 1331

Last change on this file since 1331 was 1331, checked in by yushan, 6 years ago

dev_omp

  • Property copyright set to
    Software name : XIOS (Xml I/O Server)
    http://forge.ipsl.jussieu.fr/ioserver
    Creation date : January 2009
    Licence : CeCCIL version2
    see license file in root directory : Licence_CeCILL_V2-en.txt
    or http://www.cecill.info/licences/Licence_CeCILL_V2-en.html
    Holder : CEA/LSCE (Laboratoire des Sciences du CLimat et de l'Environnement)
    CNRS/IPSL (Institut Pierre Simon Laplace)
    Project Manager : Yann Meurdesoif
    yann.meurdesoif@cea.fr
File size: 816 bytes
Line 
1#ifndef __XIOS_CXMLParser__
2#define __XIOS_CXMLParser__
3
4/// XIOS headers ///
5#include "xios_spl.hpp"
6#include "exception.hpp"
7#include "xml_node.hpp"
8
9
10namespace xios
11{
12  namespace xml
13  {
14    /// ////////////////////// Déclarations ////////////////////// ///
15    class CXMLParser
16    {
17      public :
18        static void ParseFile(const StdString & filename, const std::set<StdString>& parseList = std::set<StdString>());
19        static void ParseString(const StdString & xmlContent);
20        static void ParseStream(StdIStream & stream, const string& fluxId, const std::set<StdString>& parseList);
21        template <class T>
22        static void ParseInclude(StdIStream & stream, const string& fluxId, T & object);
23
24    }; //class CXMLParser
25  }// namespace xml
26} // namespace xios
27
28#endif // __XIOS_CXMLParser__
Note: See TracBrowser for help on using the repository browser.