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

Last change on this file was 2698, checked in by mhedley, 7 weeks ago

patches for C compilation

  • 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 <array>
25#include <set>
26#include <stack>
27#include <list>
28#include <map>
29#include <deque>
30#include <queue>
31#include <valarray>
32#include <tuple>
33
34// Flux.
35#include <iostream>
36#include <fstream>
37#include <sstream>
38
39/// boost headers ///
40
41/// Map ///
42#define xios_map std::map
43
44/// Macro ///
45#define UNUSED(parameter)
46
47/// Définition de types (issus de la bibliothÚque standard)///
48typedef std::ostringstream StdOStringStream;
49typedef std::istringstream StdIStringStream;
50typedef std::stringstream  StdStringStream;
51typedef std::ofstream      StdOFStream;
52typedef std::ifstream      StdIFStream;
53typedef std::ostream       StdOStream;
54typedef std::istream       StdIStream;
55typedef std::string        StdString;
56typedef std::size_t        StdSize;
57
58typedef  unsigned short int      ushort;
59typedef  unsigned int            uint;
60typedef  unsigned long int       ulong;
61typedef  long long int           longlong;
62typedef  unsigned long long int  ulonglong;
63
64const size_t stringArrayLen=255 ;
65
66/// XIOS headers ///
67#include "configure.hpp"
68#include "log.hpp"
69using namespace std;
70
71#endif //__XIOS_SPL__
Note: See TracBrowser for help on using the repository browser.