source: XIOS2/dev/mhedley/buildCompilationPatchesA/src/xios_spl.hpp @ 2697

Last change on this file since 2697 was 2697, 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.3 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
11// standard C
12#include <cstring>
13#include <cstdlib>
14#include <cmath>
15#include <ctime>
16
17// Conteneurs.
18#include <vector>
19#include <array>
20#include <set>
21#include <stack>
22#include <list>
23#include <map>
24#include <deque>
25#include <queue>
26#include <valarray>
27// Flux.
28#include <iostream>
29#include <fstream>
30#include <sstream>
31
32/// boost headers ///
33#include <boost/cast.hpp>
34#include <boost/current_function.hpp>
35/// Map ///
36#define xios_map std::map
37
38/// Macro ///
39#define UNUSED(parameter)
40
41/// Définition de types (issus de la bibliothÚque standard)///
42typedef std::ostringstream StdOStringStream;
43typedef std::istringstream StdIStringStream;
44typedef std::stringstream  StdStringStream;
45typedef std::ofstream      StdOFStream;
46typedef std::ifstream      StdIFStream;
47typedef std::ostream       StdOStream;
48typedef std::istream       StdIStream;
49typedef std::string        StdString;
50typedef std::size_t        StdSize;
51
52typedef  unsigned short int   ushort;
53typedef  unsigned int         uint;
54typedef  unsigned long int    ulong;
55
56const size_t stringArrayLen=255 ;
57
58/// XIOS headers ///
59#include "configure.hpp"
60#include "log.hpp"
61using namespace std;
62using namespace boost ;
63
64
65#endif //__XIOS_SPL__
Note: See TracBrowser for help on using the repository browser.