RawIntrusiveListIter Class Reference

RawIntrusiveListIter is the type-unsafe implementation for the type-safe IntrusiveListIter template. More...

#include <RawIntrusiveList.h>

Inheritance diagram for RawIntrusiveListIter:

IntrusiveListIter< T, DerivedListNode > List of all members.

Public Member Functions

void operator++ ()
 Advances iterator position to next node.

Protected Member Functions

 RawIntrusiveListIter ()
 RawIntrusiveListIter (RawIntrusiveList const &l)
IntrusiveListNodegetCurrent () const
void repositionToFront (RawIntrusiveList const &l)

Protected Attributes

IntrusiveListNodepCurr

Detailed Description

RawIntrusiveListIter is the type-unsafe implementation for the type-safe IntrusiveListIter template.

See InstrusiveListIter for details.

Definition at line 111 of file RawIntrusiveList.h.


Constructor & Destructor Documentation

RawIntrusiveListIter::RawIntrusiveListIter (  )  [inline, explicit, protected]

Definition at line 115 of file RawIntrusiveList.h.

00116         : pCurr(NULL)
00117     {
00118     }

RawIntrusiveListIter::RawIntrusiveListIter ( RawIntrusiveList const &  l  )  [inline, explicit, protected]

Definition at line 120 of file RawIntrusiveList.h.

00121         : pCurr(l.pFront)
00122     {
00123     }


Member Function Documentation

IntrusiveListNode* RawIntrusiveListIter::getCurrent (  )  const [inline, protected]

Definition at line 125 of file RawIntrusiveList.h.

Referenced by IntrusiveListIter< T, DerivedListNode >::operator *(), IntrusiveListIter< T, DerivedListNode >::operator T *(), and IntrusiveListIter< T, DerivedListNode >::operator->().

00126     {
00127         return pCurr;
00128     }

void RawIntrusiveListIter::repositionToFront ( RawIntrusiveList const &  l  )  [inline, protected]

Definition at line 130 of file RawIntrusiveList.h.

References RawIntrusiveList::pFront.

Referenced by IntrusiveListIter< T, DerivedListNode >::repositionToFront().

00131     {
00132         pCurr = l.pFront;
00133     }

void RawIntrusiveListIter::operator++ (  )  [inline]

Advances iterator position to next node.

Definition at line 139 of file RawIntrusiveList.h.

References IntrusiveListNode::pNext.

00140     {
00141         if (pCurr) {
00142             pCurr = pCurr->pNext;
00143         }
00144     }


Member Data Documentation

IntrusiveListNode* RawIntrusiveListIter::pCurr [protected]

Definition at line 113 of file RawIntrusiveList.h.


The documentation for this class was generated from the following file:
Generated on Mon Jun 22 04:00:44 2009 for Fennel by  doxygen 1.5.1