Definition at line 216 of file kintrusivelist.h.
#include <kintrusivelist.h>
Public Member Functions |
|
IntrusiveListConstIterator (const NodeT *ptr=0) | |
IntrusiveListConstIterator & | operator++ () |
const IntrusiveListConstIterator | operator++ (int) |
IntrusiveListConstIterator & | operator-- () |
const IntrusiveListConstIterator | operator-- (int) |
IntrusiveListConstIterator & | operator= (const IntrusiveListConstIterator &other) |
const_reference | operator* () const |
const_pointer | operator-> () const |
bool | operator== (const IntrusiveListConstIterator &other) const |
bool | operator!= (const IntrusiveListConstIterator &other) const |
const NodeT * | Get () const |
IntrusiveListConstIterator | ( | const NodeT * | ptr = 0 |
) | [inline, explicit] |
Definition at line 219 of file kintrusivelist.h.
:mPtr(ptr){}
IntrusiveListConstIterator& operator++ | ( | ) | [inline] |
Definition at line 222 of file kintrusivelist.h.
{ mPtr = mPtr->mNext;return (*this); }
const IntrusiveListConstIterator operator++ | ( | int | ) | [inline] |
Definition at line 227 of file kintrusivelist.h.
{ IntrusiveListConstIterator temp = *this; ++*this; return (temp); }
IntrusiveListConstIterator& operator-- | ( | ) | [inline] |
Definition at line 234 of file kintrusivelist.h.
{ mPtr = mPtr->mPrev;return *this; }
const IntrusiveListConstIterator operator-- | ( | int | ) | [inline] |
Definition at line 239 of file kintrusivelist.h.
{ IntrusiveListConstIterator temp = *this; --*this; return (temp); }
IntrusiveListConstIterator& operator= | ( | const IntrusiveListConstIterator & | other | ) | [inline] |
Definition at line 245 of file kintrusivelist.h.
{mPtr = other.mPtr; return *this;}
const_reference operator* | ( | ) | const [inline] |
Definition at line 247 of file kintrusivelist.h.
{ return *(mPtr->mData); }
const_pointer operator-> | ( | ) | const [inline] |
Definition at line 248 of file kintrusivelist.h.
{ return (&**this); }
bool operator== | ( | const IntrusiveListConstIterator & | other | ) | const [inline] |
Definition at line 249 of file kintrusivelist.h.
{ return mPtr==other.mPtr; }
bool operator!= | ( | const IntrusiveListConstIterator & | other | ) | const [inline] |
Definition at line 250 of file kintrusivelist.h.
{ return !(*this == other); }
const NodeT* Get | ( | ) | const [inline] |