StdHeaders.h

00001 /***************************************************************************
00002  *                                                                         *
00003  *   (c) Art Tevs, MPI Informatik Saarbruecken                             *
00004  *       mailto: <tevs@mpi-sb.mpg.de>                                      *
00005  *                                                                         *
00006  *   This program is free software; you can redistribute it and/or modify  *
00007  *   it under the terms of the GNU General Public License as published by  *
00008  *   the Free Software Foundation; either version 2 of the License, or     *
00009  *   (at your option) any later version.                                   *
00010  *                                                                         *
00011  ***************************************************************************/
00012 
00013 #ifndef __NR_STD_HEADERS_H_
00014 #define __NR_STD_HEADERS_H_
00015 
00016 #ifdef __BORLANDC__
00017     #define __STD_ALGORITHM
00018 #endif
00019 
00020 // default system headers
00021 #include <ctime>
00022 #include <cstdarg>
00023 
00024 // STL Library
00025 #include <vector>
00026 #include <map>
00027 #include <string>
00028 #include <set>
00029 #include <list>
00030 #include <deque>
00031 #include <queue>
00032 
00033 #if 0
00034 // Hash Map if it is exists
00035 #ifdef EXT_HASH
00036 #       include <ext/hash_map>
00037 #       include <ext/hash_set>
00038 #else
00039 #       include <hash_set>
00040 #       include <hash_map>
00041 #endif
00042 
00043 #ifndef HashMap
00044         #ifdef GCC_3_1
00045         #   define HashMap __gnu_cxx::hash_map
00046         #else
00047         #   if NR_COMPILER == COMPILER_MSVC
00048         #       if NR_COMP_VER > 1300 && !defined(_STLP_MSVC)
00049         #           define HashMap stdext::hash_map
00050         #       else
00051         #           define HashMap std::hash_map
00052         #       endif
00053         #   else
00054         #       define HashMap std::hash_map
00055         #   endif
00056         #endif
00057 #endif
00058 #endif  
00059 
00060 // Streaming
00061 #include <fstream>
00062 #include <iostream>
00063 #include <sstream>
00064 
00065 // boost stuff
00066 #include <boost/scoped_ptr.hpp>
00067 #include <boost/shared_ptr.hpp>
00068 #include <boost/lexical_cast.hpp>
00069 #include <boost/shared_array.hpp>
00070 #include <boost/function.hpp>
00071 #include <boost/any.hpp>
00072 
00073 
00074 // load default libraries for linux using
00075 #if NR_PLATFORM == NR_PLATFORM_LINUX
00076 extern "C" {
00077 #   include <unistd.h>
00078 #   include <dlfcn.h>
00079 };
00080 #endif
00081 
00082 // some default headers for mac systems
00083 #if NR_PLATFORM == NR_PLATFORM_APPLE
00084 extern "C" {
00085 #   include <unistd.h>
00086 #   include <sys/param.h>
00087 #   include <CoreFoundation/CoreFoundation.h>
00088 };
00089 #endif
00090 
00091 #endif

Generated on Wed Sep 12 23:19:42 2007 for nrEngine by  doxygen 1.5.1