|
WvStreams
|

Classes | |
| class | IterBase |
Public Member Functions | |
| WvScatterHashBase (unsigned _numslots) | |
| 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 |
Definition at line 22 of file wvscatterhash.h.
|
protected |
Definition at line 86 of file wvscatterhash.h.
|
protected |
Definition at line 87 of file wvscatterhash.h.
| WvScatterHashBase::WvScatterHashBase | ( | unsigned | _numslots | ) |
Definition at line 25 of file wvscatterhash.cc.
|
inlinevirtual |
Definition at line 26 of file wvscatterhash.h.
|
inline |
Definition at line 31 of file wvscatterhash.h.
|
inline |
Definition at line 32 of file wvscatterhash.h.
| size_t WvScatterHashBase::slowcount | ( | ) | const |
Definition at line 46 of file wvscatterhash.cc.
|
protected |
Definition at line 159 of file wvscatterhash.cc.
|
protected |
Definition at line 181 of file wvscatterhash.cc.
|
protected |
Definition at line 86 of file wvscatterhash.cc.
|
protected |
Definition at line 91 of file wvscatterhash.cc.
|
protected |
Definition at line 113 of file wvscatterhash.cc.
|
protected |
Definition at line 126 of file wvscatterhash.cc.
|
protected |
Definition at line 139 of file wvscatterhash.cc.
|
protected |
Definition at line 148 of file wvscatterhash.cc.
|
friend |
Definition at line 84 of file wvscatterhash.h.
|
static |
Definition at line 28 of file wvscatterhash.h.
|
static |
Definition at line 12 of file wvscatterhash.h.
|
protected |
Definition at line 89 of file wvscatterhash.h.
|
protected |
Definition at line 90 of file wvscatterhash.h.
|
protected |
Definition at line 91 of file wvscatterhash.h.
|
protected |
Definition at line 92 of file wvscatterhash.h.