oidx_defs.h File Reference

#include <agent_pp/oidx_ptr.h>

Go to the source code of this file.

Defines

#define _OidxPtrdefs_h   1
#define OidxPtrEQ(a, b)   ((*a) == (*b))
#define OidxPtrLE(a, b)   ((*a) <= (*b))
#define OidxPtrCMP(a, b)   ( ((*a) <= (*b))? (((*a) == (*b))? 0 : -1) : 1 )
#define OidxPtrHASH(x)   hash(x)
#define DEFAULT_INITIAL_CAPACITY   100
#define HASHTABLE_TOO_CROWDED(COUNT, SIZE)   ((SIZE) - ((SIZE) >> 3) <= (COUNT))

Functions

unsigned int hash (OidxPtr)


Define Documentation

#define _OidxPtrdefs_h   1

#define DEFAULT_INITIAL_CAPACITY   100

#define HASHTABLE_TOO_CROWDED ( COUNT,
SIZE   )     ((SIZE) - ((SIZE) >> 3) <= (COUNT))

#define OidxPtrCMP ( a,
 )     ( ((*a) <= (*b))? (((*a) == (*b))? 0 : -1) : 1 )

#define OidxPtrEQ ( a,
 )     ((*a) == (*b))

#define OidxPtrHASH (  )     hash(x)

#define OidxPtrLE ( a,
 )     ((*a) <= (*b))


Function Documentation

unsigned int hash ( OidxPtr   ) 


Generated on Fri May 29 22:36:53 2009 for AGENT++ by  doxygen 1.5.6