Changeset 206 for trunk/src/framework
- Timestamp:
- 11/19/08 13:46:16 (17 years ago)
- Location:
- trunk/src/framework
- Files:
-
- 2 modified
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/framework/Dynamic/ObjectRegistry.h
r102 r206 23 23 24 24 #include "Platform/Define.h" 25 #include "Utilities/ HashMap.h"25 #include "Utilities/UnorderedMap.h" 26 26 #include "Policies/Singleton.h" 27 27 -
trunk/src/framework/Makefile.am
r192 r206 61 61 Utilities/Callback.h \ 62 62 Utilities/EventProcessor.h \ 63 Utilities/ HashMap.h \63 Utilities/UnorderedMap.h \ 64 64 Utilities/LinkedList.h \ 65 65 Utilities/TypeList.h -
trunk/src/framework/Utilities/UnorderedMap.h
r102 r206 19 19 */ 20 20 21 #ifndef TRINITY_ HASHMAP_H22 #define TRINITY_ HASHMAP_H21 #ifndef TRINITY_UNORDERED_MAP_H 22 #define TRINITY_UNORDERED_MAP_H 23 23 24 24 #include "Platform/CompilerDefs.h" … … 27 27 #if COMPILER == COMPILER_INTEL 28 28 #include <ext/hash_map> 29 #elif COMPILER == COMPILER_GNU && __GNUC__ >= 4 30 #include <tr1/unordered_map> 29 31 #elif COMPILER == COMPILER_GNU && __GNUC__ >= 3 30 32 #include <ext/hash_map> 33 #elif COMPILER == COMPILER_MICROSOFT && _MSC_VER >= 1500 && _HAS_TR1 // VC9.0 and later 34 #include <unordered_map> 31 35 #else 32 36 #include <hash_map> … … 34 38 35 39 #ifdef _STLPORT_VERSION 36 #define HM_NAMESPACE std40 #define UNORDERED_MAP std::hash_map 37 41 using std::hash_map; 42 #elif COMPILER == COMPILER_MICROSOFT && _MSC_VER >= 1500 && _HAS_TR1 43 #define UNORDERED_MAP std::tr1::unordered_map 38 44 #elif COMPILER == COMPILER_MICROSOFT && _MSC_VER >= 1300 39 #define HM_NAMESPACE stdext45 #define UNORDERED_MAP stdext::hash_map 40 46 using stdext::hash_map; 41 47 #elif COMPILER == COMPILER_INTEL 42 #define HM_NAMESPACE std48 #define UNORDERED_MAP std::hash_map 43 49 using std::hash_map; 50 #elif COMPILER == COMPILER_GNU && __GNUC__ >= 4 51 #define UNORDERED_MAP std::tr1::unordered_map 44 52 #elif COMPILER == COMPILER_GNU && __GNUC__ >= 3 45 #define HM_NAMESPACE __gnu_cxx 46 using __gnu_cxx::hash_map; 53 #define UNORDERED_MAP std::__gnu_cxx::hash_map 47 54 48 55 namespace __gnu_cxx … … 60 67 61 68 #else 62 #define HM_NAMESPACE std69 #define UNORDERED_MAP std::hash_map 63 70 using std::hash_map; 64 71 #endif