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

WvGdbmList< T >::Iter Class Reference

#include <wvgdbmlist.h>

Collaboration diagram for WvGdbmList< T >::Iter:

[legend]
List of all members.

template<typename T>
class WvGdbmList< T >::Iter


Public Member Functions

 Iter (WvGdbmList &_list)
void rewind ()
bool cur ()
bool next ()
void unlink ()
 Unlinks the current element from the list like in WvList.
void xunlink ()
 Unlinks the current element from the list like in WvList.
Tptr () const
 WvIterStuff (T)

Public Attributes

WvGdbmListlist
Index prev
Index xcur
Index xnext

Constructor & Destructor Documentation

template<typename T>
WvGdbmList< T >::Iter::Iter WvGdbmList _list  )  [inline]
 

Definition at line 260 of file wvgdbmlist.h.


Member Function Documentation

template<typename T>
bool WvGdbmList< T >::Iter::cur  )  [inline]
 

Definition at line 265 of file wvgdbmlist.h.

template<typename T>
bool WvGdbmList< T >::Iter::next  )  [inline]
 

Definition at line 267 of file wvgdbmlist.h.

References WvGdbmList< T >::retrieve().

template<typename T>
T* WvGdbmList< T >::Iter::ptr  )  const [inline]
 

Definition at line 288 of file wvgdbmlist.h.

References WvGdbmList< T >::Link::data(), and WvGdbmList< T >::saved.

template<typename T>
void WvGdbmList< T >::Iter::rewind  )  [inline]
 

Definition at line 263 of file wvgdbmlist.h.

References WvGdbmList< T >::retrieve().

template<typename T>
void WvGdbmList< T >::Iter::unlink  )  [inline]
 

Unlinks the current element from the list like in WvList.

You usually want xunlink() instead.

Definition at line 275 of file wvgdbmlist.h.

References WvGdbmList< T >::retrieve(), and WvGdbmList< T >::unlink_after().

template<typename T>
WvGdbmList< T >::Iter::WvIterStuff T   ) 
 

template<typename T>
void WvGdbmList< T >::Iter::xunlink  )  [inline]
 

Unlinks the current element from the list like in WvList.

The iterator becomes invalid until next(), but next() does exactly what it would have done if you hadn't done xunlink(). See WvLink::Iter::xunlink() for the reasoning here.

Definition at line 285 of file wvgdbmlist.h.

References WvGdbmList< T >::unlink_after().


Member Data Documentation

template<typename T>
WvGdbmList& WvGdbmList< T >::Iter::list
 

Definition at line 257 of file wvgdbmlist.h.

template<typename T>
Index WvGdbmList< T >::Iter::prev
 

Definition at line 258 of file wvgdbmlist.h.

template<typename T>
Index WvGdbmList< T >::Iter::xcur
 

Definition at line 258 of file wvgdbmlist.h.

template<typename T>
Index WvGdbmList< T >::Iter::xnext
 

Definition at line 258 of file wvgdbmlist.h.


The documentation for this class was generated from the following file:
Generated on Wed Dec 15 15:08:18 2004 for WvStreams by  doxygen 1.3.9.1