Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

WvBdbHashBase::IterBase Class Reference

#include <wvbdbhash.h>

Inherited by WvBdbHash< K, D >::Iter.

Collaboration diagram for WvBdbHashBase::IterBase:

[legend]
List of all members.

Public Member Functions

 IterBase (WvBdbHashBase &_bdbhash)
 ~IterBase ()
void rewind ()
void rewind (const datum &firstkey, datum &key, datum &data)
void next (datum &key, datum &data)
void xunlink (const datum &key)
void update (const datum &key, const datum &data)

Protected Attributes

WvBdbHashBasebdbhash
datum rewindto

Constructor & Destructor Documentation

WvBdbHashBase::IterBase::IterBase WvBdbHashBase _bdbhash  ) 
 

Definition at line 192 of file wvbdbhash.cc.

References WvBdbHashBase::datum::dptr, WvBdbHashBase::datum::dsize, and rewindto.

WvBdbHashBase::IterBase::~IterBase  ) 
 

Definition at line 200 of file wvbdbhash.cc.

References WvBdbHashBase::datum::dptr, and rewindto.


Member Function Documentation

void WvBdbHashBase::IterBase::next datum key,
datum data
 

Definition at line 225 of file wvbdbhash.cc.

References bdbhash, comparefunc(), WvBdbHashBase::dbf, WvBdbHashBase::datum::dptr, WvBdbHashBase::datum::dsize, WvError::isok(), rewindto, and WvError::seterr().

void WvBdbHashBase::IterBase::rewind const datum firstkey,
datum key,
datum data
 

Definition at line 213 of file wvbdbhash.cc.

References WvBdbHashBase::datum::dptr, WvBdbHashBase::datum::dsize, and rewindto.

void WvBdbHashBase::IterBase::rewind  ) 
 

Reimplemented in WvBdbHash< K, D >::Iter.

Definition at line 206 of file wvbdbhash.cc.

References WvBdbHashBase::datum::dptr, and rewindto.

void WvBdbHashBase::IterBase::update const datum key,
const datum data
 

Definition at line 298 of file wvbdbhash.cc.

References WvBdbHashBase::add(), and bdbhash.

void WvBdbHashBase::IterBase::xunlink const datum key  ) 
 

Definition at line 292 of file wvbdbhash.cc.

References bdbhash, and WvBdbHashBase::remove().


Member Data Documentation

WvBdbHashBase& WvBdbHashBase::IterBase::bdbhash [protected]
 

Definition at line 89 of file wvbdbhash.h.

Referenced by next(), update(), and xunlink().

datum WvBdbHashBase::IterBase::rewindto [protected]
 

Definition at line 90 of file wvbdbhash.h.

Referenced by IterBase(), next(), rewind(), and ~IterBase().


The documentation for this class was generated from the following files:
Generated on Sat Feb 21 21:05:56 2004 for WvStreams by doxygen 1.3.5