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

Last change on this file since 1612 was 1612, checked in by oabramkina, 22 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
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
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>
[492]24#include <queue>
[300]25#include <valarray>
[219]26// Flux.
27#include <iostream>
28#include <fstream>
29#include <sstream>
30
31/// boost headers ///
[300]32#include <boost/cast.hpp>
[1612]33#include <boost/current_function.hpp>
[219]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;
[490]43typedef std::stringstream  StdStringStream;
[219]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
[300]51typedef  unsigned short int   ushort;
52typedef  unsigned int         uint;
53typedef  unsigned long int    ulong;
54
[1158]55const size_t stringArrayLen=255 ;
56
[591]57/// XIOS headers ///
[219]58#include "configure.hpp"
[300]59#include "log.hpp"
60using namespace std;
61using namespace boost ;
[219]62
[300]63
[591]64#endif //__XIOS_SPL__
Note: See TracBrowser for help on using the repository browser.