source: XIOS/dev/dev_olga/src/xios_spl.hpp @ 1612

Last change on this file since 1612 was 1612, checked in by oabramkina, 21 months ago

Dev: adding exception handling.

To activate it, compilation flag -DXIOS_EXCEPTION should be added.

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