KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator Class Reference


Detailed Description

template<typename T, int NodeIndex = 0>
class KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator

Definition at line 216 of file kintrusivelist.h.

#include <kintrusivelist.h>

List of all members.

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

Constructor & Destructor Documentation

IntrusiveListConstIterator ( const NodeT ptr = 0 ) [inline, explicit]

Definition at line 219 of file kintrusivelist.h.

:mPtr(ptr){}

Member Function Documentation

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]

Definition at line 252 of file kintrusivelist.h.

{ return mPtr; }

The documentation for this class was generated from the following file:

KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator
KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator KIntrusiveList< T, NodeIndex >::IntrusiveListConstIterator