WvOnDiskList< T, Backend >::Iter Class Reference

List of all members.

Detailed Description

template<typename T, typename Backend = DefaultHash>
class WvOnDiskList< T, Backend >::Iter

Definition at line 256 of file wvondisklist.h.

Public Member Functions

 Iter (WvOnDiskList &_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.
T * ptr () const
 WvIterStuff (T)

Public Attributes

WvOnDiskListlist
Index prev
Index xcur
Index xnext


Member Function Documentation

template<typename T, typename Backend = DefaultHash>
void WvOnDiskList< T, Backend >::Iter::unlink (  )  [inline]

Unlinks the current element from the list like in WvList.

You usually want xunlink() instead.

Definition at line 278 of file wvondisklist.h.

References WvOnDiskList< T, Backend >::Iter::list, WvOnDiskList< T, Backend >::Iter::prev, WvOnDiskList< T, Backend >::retrieve(), WvOnDiskList< T, Backend >::unlink_after(), WvOnDiskList< T, Backend >::Iter::xcur, and WvOnDiskList< T, Backend >::Iter::xnext.

template<typename T, typename Backend = DefaultHash>
void WvOnDiskList< T, Backend >::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 288 of file wvondisklist.h.

References WvOnDiskList< T, Backend >::Iter::list, WvOnDiskList< T, Backend >::Iter::prev, WvOnDiskList< T, Backend >::unlink_after(), and WvOnDiskList< T, Backend >::Iter::xcur.


The documentation for this class was generated from the following file:
Generated on Wed Jul 12 17:53:34 2006 for WvStreams by  doxygen 1.4.7