source: XIOS/trunk/src/xios_spl.hpp @ 1542

Last change on this file since 1542 was 1542, checked in by oabramkina, 6 years ago

Replacing Boost's unordered_map and shared_pointer by its STL counterparts.

Two notes for Curie:

  • one can see the content of unordered_map with ddt only if XIOS has been compiled with gnu
  • XIOS will not compile any more with pgi (all available versions use old STL which are not up to the c++11 norms)
  • 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 <set>
20#include <stack>
21#include <list>
22#include <map>
23#include <deque>
24#include <queue>
25#include <valarray>
26// Flux.
27#include <iostream>
28#include <fstream>
29#include <sstream>
30
31/// boost headers ///
32#include <boost/cast.hpp>
33/// Map ///
34#define xios_map std::map
35
36/// Macro ///
37#define UNUSED(parameter)
38
39/// Définition de types (issus de la bibliothÚque standard)///
40typedef std::ostringstream StdOStringStream;
41typedef std::istringstream StdIStringStream;
42typedef std::stringstream  StdStringStream;
43typedef std::ofstream      StdOFStream;
44typedef std::ifstream      StdIFStream;
45typedef std::ostream       StdOStream;
46typedef std::istream       StdIStream;
47typedef std::string        StdString;
48typedef std::size_t        StdSize;
49
50typedef  unsigned short int   ushort;
51typedef  unsigned int         uint;
52typedef  unsigned long int    ulong;
53
54const size_t stringArrayLen=255 ;
55
56/// XIOS headers ///
57#include "configure.hpp"
58#include "log.hpp"
59using namespace std;
60using namespace boost ;
61
62
63#endif //__XIOS_SPL__
Note: See TracBrowser for help on using the repository browser.