#include <wvgdbmhash.h>
Inherits WvGdbmHashBase.
Collaboration diagram for WvGdbmHash< K, D >:
This affects memory management for objects stored in it.
For find and operator[], the returned object is only guaranteed to be around until the next find/or next() for iterators.
Definition at line 64 of file wvgdbmhash.h.
Public Member Functions | |
| WvGdbmHash (WvStringParm dbfile) | |
| void | add (const K &key, const D &data, bool replace=false) |
| void | remove (const K &key) |
| D & | find (const K &key) |
| D & | operator[] (const K &key) |
| bool | exists (const K &key) |
| int | add (const datum &key, const datum &data, bool replace) |
| int | remove (const datum &key) |
| datum | find (const datum &key) |
| bool | exists (const datum &key) |
| void | zap () |
Static Public Member Functions | |
| template<typename T> T | undatumize (datum &data) |
Protected Attributes | |
| D * | saveddata |
|
||||||||||
|
Definition at line 96 of file wvgdbmhash.h. |
|
||||||||||||||||
|
Definition at line 29 of file wvgdbmhash.cc. Referenced by WvGdbmHash< Index, WvBuf >::add(). |
|
||||||||||||||||||||
|
Definition at line 99 of file wvgdbmhash.h. Referenced by WvGdbmList< T >::save(). |
|
|
Definition at line 48 of file wvgdbmhash.cc. Referenced by WvGdbmHash< Index, WvBuf >::exists(). |
|
||||||||||
|
Definition at line 122 of file wvgdbmhash.h. Referenced by WvGdbmAlloc::alloc(), WvGdbmList< T >::init(), and WvGdbmList< T >::zap(). |
|
|
Definition at line 42 of file wvgdbmhash.cc. Referenced by WvGdbmHash< Index, WvBuf >::find(). |
|
||||||||||
|
Definition at line 109 of file wvgdbmhash.h. Referenced by WvGdbmHash< Index, WvBuf >::operator[](). |
|
||||||||||
|
Definition at line 119 of file wvgdbmhash.h. |
|
|
Definition at line 36 of file wvgdbmhash.cc. Referenced by WvGdbmHash< Index, WvBuf >::remove(). |
|
||||||||||
|
Definition at line 106 of file wvgdbmhash.h. |
|
||||||||||||||
|
Definition at line 86 of file wvgdbmhash.h. |
|
|
Definition at line 54 of file wvgdbmhash.cc. Referenced by WvGdbmAlloc::zap(). |
|
|||||
|
Definition at line 93 of file wvgdbmhash.h. |
1.3.6-20040222