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