Last change
on this file since 2698 was
2698,
checked in by mhedley, 7 weeks ago
|
patches for C compilation
|
-
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.5 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 | // 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> |
---|
[2698] | 24 | #include <array> |
---|
[219] | 25 | #include <set> |
---|
| 26 | #include <stack> |
---|
| 27 | #include <list> |
---|
| 28 | #include <map> |
---|
| 29 | #include <deque> |
---|
[492] | 30 | #include <queue> |
---|
[300] | 31 | #include <valarray> |
---|
[1984] | 32 | #include <tuple> |
---|
| 33 | |
---|
[219] | 34 | // Flux. |
---|
| 35 | #include <iostream> |
---|
| 36 | #include <fstream> |
---|
| 37 | #include <sstream> |
---|
| 38 | |
---|
| 39 | /// boost headers /// |
---|
[1984] | 40 | |
---|
[219] | 41 | /// Map /// |
---|
| 42 | #define xios_map std::map |
---|
| 43 | |
---|
| 44 | /// Macro /// |
---|
| 45 | #define UNUSED(parameter) |
---|
| 46 | |
---|
| 47 | /// Définition de types (issus de la bibliothÚque standard)/// |
---|
| 48 | typedef std::ostringstream StdOStringStream; |
---|
| 49 | typedef std::istringstream StdIStringStream; |
---|
[490] | 50 | typedef std::stringstream StdStringStream; |
---|
[219] | 51 | typedef std::ofstream StdOFStream; |
---|
| 52 | typedef std::ifstream StdIFStream; |
---|
| 53 | typedef std::ostream StdOStream; |
---|
| 54 | typedef std::istream StdIStream; |
---|
| 55 | typedef std::string StdString; |
---|
| 56 | typedef std::size_t StdSize; |
---|
| 57 | |
---|
[1875] | 58 | typedef unsigned short int ushort; |
---|
| 59 | typedef unsigned int uint; |
---|
| 60 | typedef unsigned long int ulong; |
---|
| 61 | typedef long long int longlong; |
---|
| 62 | typedef unsigned long long int ulonglong; |
---|
[300] | 63 | |
---|
[1158] | 64 | const size_t stringArrayLen=255 ; |
---|
| 65 | |
---|
[591] | 66 | /// XIOS headers /// |
---|
[219] | 67 | #include "configure.hpp" |
---|
[300] | 68 | #include "log.hpp" |
---|
| 69 | using namespace std; |
---|
[219] | 70 | |
---|
[591] | 71 | #endif //__XIOS_SPL__ |
---|
Note: See
TracBrowser
for help on using the repository browser.