Go to the documentation of this file.
39 #ifndef _OidxPtrdefs_h
40 #define _OidxPtrdefs_h 1
44 #ifdef AGENTPP_NAMESPACE
51 #define OidxPtrEQ(a, b) ((*a) == (*b))
56 #define OidxPtrLE(a, b) ((*a) <= (*b))
61 #define OidxPtrCMP(a, b) ( ((*a) <= (*b))? (((*a) == (*b))? 0 : -1) : 1 )
67 #define OidxPtrHASH(x) hash(x)
72 #ifndef DEFAULT_INITIAL_CAPACITY
73 #define DEFAULT_INITIAL_CAPACITY 100
80 #define HASHTABLE_TOO_CROWDED(COUNT, SIZE) ((SIZE) - ((SIZE) >> 3) <= (COUNT))
82 #ifdef AGENTPP_NAMESPACE