Last change
on this file since 1771 was
1622,
checked in by oabramkina, 6 years ago
|
Exception handling on trunk.
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
|
Rev | Line | |
---|
[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> |
---|
[1622] | 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)/// |
---|
| 41 | typedef std::ostringstream StdOStringStream; |
---|
| 42 | typedef std::istringstream StdIStringStream; |
---|
[490] | 43 | typedef std::stringstream StdStringStream; |
---|
[219] | 44 | typedef std::ofstream StdOFStream; |
---|
| 45 | typedef std::ifstream StdIFStream; |
---|
| 46 | typedef std::ostream StdOStream; |
---|
| 47 | typedef std::istream StdIStream; |
---|
| 48 | typedef std::string StdString; |
---|
| 49 | typedef std::size_t StdSize; |
---|
| 50 | |
---|
[300] | 51 | typedef unsigned short int ushort; |
---|
| 52 | typedef unsigned int uint; |
---|
| 53 | typedef unsigned long int ulong; |
---|
| 54 | |
---|
[1158] | 55 | const size_t stringArrayLen=255 ; |
---|
| 56 | |
---|
[591] | 57 | /// XIOS headers /// |
---|
[219] | 58 | #include "configure.hpp" |
---|
[300] | 59 | #include "log.hpp" |
---|
| 60 | using namespace std; |
---|
| 61 | using namespace boost ; |
---|
[219] | 62 | |
---|
[300] | 63 | |
---|
[591] | 64 | #endif //__XIOS_SPL__ |
---|
Note: See
TracBrowser
for help on using the repository browser.