Definition at line 22 of file wvscatterhash.h.
Public Member Functions | |
| WvScatterHashBase (unsigned _numslots) | |
| virtual | ~WvScatterHashBase () |
| size_t | count () const |
| bool | isempty () const |
| size_t | slowcount () const |
Static Public Attributes | |
| static const unsigned | null_idx = (unsigned)-1 |
| static const unsigned | prime_numbers [] |
Protected Types | |
| typedef void * | Slot |
| typedef unsigned char | Status |
Protected Member Functions | |
| virtual unsigned | do_hash (const void *data)=0 |
| virtual void | do_delete (void *data)=0 |
| unsigned | genfind (const void *data, unsigned hash) const |
| Slot | genfind_or_null (const void *data, unsigned hash) const |
| void | _add (void *data, bool autofree) |
| void | _add (void *data, unsigned hash, bool autofree) |
| void | _remove (const void *data, unsigned hash) |
| void | _zap () |
| void | _set_autofree (const void *data, unsigned hash, bool autofree) |
| bool | _get_autofree (const void *data, unsigned hash) |
| virtual bool | compare (const void *key, const void *elem) const=0 |
Protected Attributes | |
| Slot * | xslots |
| Status * | xstatus |
| int | prime_index |
| unsigned | numslots |
Friends | |
| class | IterBase |
Classes | |
| class | IterBase |
1.5.1