source: XIOS3/dev/mhedley/buildCompilationPatchesA/src/xios_spl.hpp @ 2696

Last change on this file since 2696 was 2629, checked in by jderouillat, 10 months ago

Delete boost dependencies, the few features used are replaced by functions stored in extern/boost_extraction

  • 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.4 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
40/// Map ///
41#define xios_map std::map
42
43/// Macro ///
44#define UNUSED(parameter)
45
46/// Définition de types (issus de la bibliothÚque standard)///
47typedef std::ostringstream StdOStringStream;
48typedef std::istringstream StdIStringStream;
49typedef std::stringstream  StdStringStream;
50typedef std::ofstream      StdOFStream;
51typedef std::ifstream      StdIFStream;
52typedef std::ostream       StdOStream;
53typedef std::istream       StdIStream;
54typedef std::string        StdString;
55typedef std::size_t        StdSize;
56
57typedef  unsigned short int      ushort;
58typedef  unsigned int            uint;
59typedef  unsigned long int       ulong;
60typedef  long long int           longlong;
61typedef  unsigned long long int  ulonglong;
62
63const size_t stringArrayLen=255 ;
64
65/// XIOS headers ///
66#include "configure.hpp"
67#include "log.hpp"
68using namespace std;
69
70#endif //__XIOS_SPL__
Note: See TracBrowser for help on using the repository browser.