27#define _UTIL_HTAB_H_ 1
49 intptr_t (*hfn)(
void *);
53 ohashtab(
int size, intptr_t (*hashfn)(
void *));
68 virtual void print(FILE *);
69 virtual void print(
int);
~ohashtab_iterator()
Definition: ohash.cc:207
ohashtab_iterator(ohashtab &, void *=(void *) -1)
Definition: ohash.cc:199
olink * operator()()
Definition: ohash.cc:212
int bucket(void *)
Definition: ohash.cc:171
void clear()
Definition: ohash.cc:142
void append(void *, olink *)
Definition: ohash.cc:93
ohashtab(int size, intptr_t(*hashfn)(void *))
Definition: ohash.cc:47
virtual void print()
Definition: ohash.cc:176
olink * remove(void *, olink *)
Definition: ohash.cc:100
void insert(void *, olink *)
Definition: ohash.cc:86
int count()
Definition: ohash.cc:150
int IsMember(void *, olink *)
Definition: ohash.cc:155
int operator=(ohashtab &)
Definition: ohash.cc:71
olink * last()
Definition: ohash.cc:121
virtual ~ohashtab()
Definition: ohash.cc:77
olink * get(void *)
Definition: ohash.cc:136
olink * first()
Definition: ohash.cc:106
olink * FindObject(void *key, void *tag, otagcompare_t cmpfn)
Definition: ohash.cc:161
int(* otagcompare_t)(void *tag, void *object)
Definition: olist.h:45
TYPE_TAG tag
Definition: symtab.c:72