DCL 4.0
Loading...
Searching...
No Matches
HashMapT.h
Go to the documentation of this file.
1#ifndef __DCL_HASH_MAP_T_H__
2#define __DCL_HASH_MAP_T_H__ 20110303
3
4#ifndef __DCL_CONFIG_H__
5 #include <dcl/Config.h>
6#endif
7
8#if !__DCL_DEBUG && !defined(__DCL_INCLUDED_STDLIB_H)
9 #include <stdlib.h> // malloc, free, realloc
10 #define __DCL_INCLUDED_STDLIB_H
11#endif
12#ifndef __DCL_INCLUDED_STRING_H
13 #include <string.h> // memset, memmove
14 #define __DCL_INCLUDED_STRING_H
15#endif
16
17#ifndef __DCL_OBJECT_H__
18#include <dcl/Object.h>
19#endif
20#ifndef __DCL_ARRAY_H__
21#include <dcl/Array.h>
22#endif
23#ifndef __DCL_HASH_FUN_H__
24#include <dcl/HashFun.h>
25#endif
26
27#if __DCL_HAVE_ALLOC_DEBUG
28 #undef __DCL_ALLOC_LEVEL
29 #define __DCL_ALLOC_LEVEL __DCL_ALLOC_INTERNAL
30 #undef new
31 #define new __DCL_DEBUG_NEW
32#endif
33
34#ifdef __GNUC__
35#include <dcl/__HashMapT-GCC.h>
36#elif defined(_MSC_VER)
37#include <dcl/__HashMapT-MSC.h>
38#else
39#error "Not Supported Compiler!"
40#endif
41
42#if __DCL_HAVE_ALLOC_DEBUG
43 #undef __DCL_ALLOC_LEVEL
44 #define __DCL_ALLOC_LEVEL __DCL_ALLOC_USER
45 #undef new
46 #define new __DCL_DEBUG_NEW
47#endif
48
49#endif // __DCL_HASH_MAP_T_H__