Definition at line 174 of file kintrusivelist.h.
#include <kintrusivelist.h>
Public Member Functions |
|
| IntrusiveListIterator (NodeT *ptr=0) | |
| IntrusiveListIterator & | operator++ () |
| const IntrusiveListIterator | operator++ (int) |
| IntrusiveListIterator & | operator-- () |
| const IntrusiveListIterator | operator-- (int) |
| IntrusiveListIterator & | operator= (const IntrusiveListIterator &other) |
| reference | operator* () const |
| pointer | operator-> () const |
| bool | operator== (const IntrusiveListIterator &other) const |
| bool | operator!= (const IntrusiveListIterator &other) const |
| NodeT * | Get () const |
| IntrusiveListIterator | ( | NodeT * | ptr = 0 |
) | [inline, explicit] |
Definition at line 177 of file kintrusivelist.h.
:mPtr(ptr){}
| IntrusiveListIterator& operator++ | ( | ) | [inline] |
Definition at line 180 of file kintrusivelist.h.
{
mPtr = mPtr->mNext;return (*this);
}
| const IntrusiveListIterator operator++ | ( | int | ) | [inline] |
Definition at line 185 of file kintrusivelist.h.
{
IntrusiveListIterator temp = *this;
++*this;
return (temp);
}
| IntrusiveListIterator& operator-- | ( | ) | [inline] |
Definition at line 192 of file kintrusivelist.h.
{
mPtr = mPtr->mPrev;return *this;
}
| const IntrusiveListIterator operator-- | ( | int | ) | [inline] |
Definition at line 197 of file kintrusivelist.h.
{
IntrusiveListIterator temp = *this;
--*this;
return (temp);
}
| IntrusiveListIterator& operator= | ( | const IntrusiveListIterator & | other | ) | [inline] |
Definition at line 203 of file kintrusivelist.h.
{mPtr = other.mPtr; return *this;}
| reference operator* | ( | ) | const [inline] |
Definition at line 205 of file kintrusivelist.h.
{ return *(mPtr->mData); }
| pointer operator-> | ( | ) | const [inline] |
Definition at line 206 of file kintrusivelist.h.
{ return (&**this); }
| bool operator== | ( | const IntrusiveListIterator & | other | ) | const [inline] |
Definition at line 207 of file kintrusivelist.h.
{ return mPtr==other.mPtr; }
| bool operator!= | ( | const IntrusiveListIterator & | other | ) | const [inline] |
Definition at line 208 of file kintrusivelist.h.
{ return !(*this == other); }
| NodeT* Get | ( | ) | const [inline] |