source: XIOS3/trunk/src/xios_spl.hpp

Last change on this file was 2629, checked in by jderouillat, 2 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
RevLine 
[591]1#ifndef __XIOS_SPL__
2#define __XIOS_SPL__
[219]3
4/// standard C++ headers ///
5#include <utility>
6#include <string>
7#include <algorithm>
[1542]8#include <unordered_map>
9#include <memory>
[219]10// standard C
11#include <cstring>
12#include <cstdlib>
[1984]13
[219]14#include <cmath>
[1984]15// bug in cmath header => macro collision marco with DOMAIN
16#ifdef DOMAIN
17#undef DOMAIN
18#endif
19
[219]20#include <ctime>
21
22// Conteneurs.
23#include <vector>
24#include <set>
25#include <stack>
26#include <list>
27#include <map>
28#include <deque>
[492]29#include <queue>
[300]30#include <valarray>
[1984]31#include <tuple>
32
[219]33// Flux.
34#include <iostream>
35#include <fstream>
36#include <sstream>
37
38/// boost headers ///
[1984]39
[219]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;
[490]49typedef std::stringstream  StdStringStream;
[219]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
[1875]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;
[300]62
[1158]63const size_t stringArrayLen=255 ;
64
[591]65/// XIOS headers ///
[219]66#include "configure.hpp"
[300]67#include "log.hpp"
68using namespace std;
[219]69
[591]70#endif //__XIOS_SPL__
Note: See TracBrowser for help on using the repository browser.