source: XIOS3/branches/xios-3.0-beta/src/xios_spl.hpp @ 2525

Last change on this file since 2525 was 1984, checked in by ymipsl, 4 years ago

intermediate commit for new tranformation engine?
YM

  • 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: 1.5 KB
Line 
1#ifndef __XIOS_SPL__
2#define __XIOS_SPL__
3
4/// standard C++ headers ///
5#include <utility>
6#include <string>
7#include <algorithm>
8#include <unordered_map>
9#include <memory>
10// standard C
11#include <cstring>
12#include <cstdlib>
13
14#include <cmath>
15// bug in cmath header => macro collision marco with DOMAIN
16#ifdef DOMAIN
17#undef DOMAIN
18#endif
19
20#include <ctime>
21
22// Conteneurs.
23#include <vector>
24#include <set>
25#include <stack>
26#include <list>
27#include <map>
28#include <deque>
29#include <queue>
30#include <valarray>
31#include <tuple>
32
33// Flux.
34#include <iostream>
35#include <fstream>
36#include <sstream>
37
38/// boost headers ///
39#include <boost/cast.hpp>
40#include <boost/current_function.hpp>
41
42/// Map ///
43#define xios_map std::map
44
45/// Macro ///
46#define UNUSED(parameter)
47
48/// Définition de types (issus de la bibliothÚque standard)///
49typedef std::ostringstream StdOStringStream;
50typedef std::istringstream StdIStringStream;
51typedef std::stringstream  StdStringStream;
52typedef std::ofstream      StdOFStream;
53typedef std::ifstream      StdIFStream;
54typedef std::ostream       StdOStream;
55typedef std::istream       StdIStream;
56typedef std::string        StdString;
57typedef std::size_t        StdSize;
58
59typedef  unsigned short int      ushort;
60typedef  unsigned int            uint;
61typedef  unsigned long int       ulong;
62typedef  long long int           longlong;
63typedef  unsigned long long int  ulonglong;
64
65const size_t stringArrayLen=255 ;
66
67/// XIOS headers ///
68#include "configure.hpp"
69#include "log.hpp"
70using namespace std;
71//using namespace boost ;
72
73#endif //__XIOS_SPL__
Note: See TracBrowser for help on using the repository browser.