Public Member Functions | Protected Attributes | Friends

FbxRedBlackConstIterator< RecordType > Class Template Reference

Search for all occurrences

Detailed Description

template<typename RecordType>
class FbxRedBlackConstIterator< RecordType >

Definition at line 109 of file fbxredblacktree.h.

#include <fbxredblacktree.h>

List of all members.

Public Member Functions

 FbxRedBlackConstIterator ()
 FbxRedBlackConstIterator (const RecordType *pRecord)
 FbxRedBlackConstIterator (const FbxRedBlackIterator< RecordType > &pV)
 FbxRedBlackConstIterator (const FbxRedBlackConstIterator< RecordType > &pV)
FbxRedBlackConstIteratoroperator++ ()
const FbxRedBlackConstIterator operator++ (int)
FbxRedBlackConstIteratoroperator-- ()
const FbxRedBlackConstIterator operator-- (int)
const RecordType & operator* () const
const RecordType & operator* ()
const RecordType * operator-> () const
const RecordType * operator-> ()
bool operator== (const FbxRedBlackConstIterator &pOther) const
bool operator!= (const FbxRedBlackConstIterator &pOther) const

Protected Attributes

const RecordType * mRecord

Friends

class FbxRedBlackIterator< RecordType >

Constructor & Destructor Documentation

Definition at line 112 of file fbxredblacktree.h.

: mRecord(0) {}
FbxRedBlackConstIterator ( const RecordType *  pRecord) [inline]

Definition at line 113 of file fbxredblacktree.h.

: mRecord(pRecord) {}
FbxRedBlackConstIterator ( const FbxRedBlackIterator< RecordType > &  pV) [inline]

Definition at line 114 of file fbxredblacktree.h.

: mRecord(pV.mRecord) {}
FbxRedBlackConstIterator ( const FbxRedBlackConstIterator< RecordType > &  pV) [inline]

Definition at line 115 of file fbxredblacktree.h.

: mRecord(pV.mRecord) {}

Member Function Documentation

FbxRedBlackConstIterator& operator++ ( ) [inline]

Definition at line 117 of file fbxredblacktree.h.

    {
        FBX_ASSERT( mRecord != NULL );
        mRecord = mRecord->Successor();
        return *this;
    }
const FbxRedBlackConstIterator operator++ ( int  ) [inline]

Definition at line 124 of file fbxredblacktree.h.

    {
        FbxRedBlackConstIterator t(*this);
        operator++();
        return t;
    }
FbxRedBlackConstIterator& operator-- ( ) [inline]

Definition at line 131 of file fbxredblacktree.h.

    {
        FBX_ASSERT( mRecord );
        mRecord = mRecord->Predecessor();
        return *this;
    }
const FbxRedBlackConstIterator operator-- ( int  ) [inline]

Definition at line 138 of file fbxredblacktree.h.

    {
        FbxRedBlackConstIterator t(*this);
        operator--();
        return t;
    }
const RecordType& operator* ( ) const [inline]

Definition at line 145 of file fbxredblacktree.h.

    {
        FBX_ASSERT( mRecord );

        return *mRecord;
    }
const RecordType& operator* ( ) [inline]

Definition at line 152 of file fbxredblacktree.h.

    {
        FBX_ASSERT( mRecord );

        return *mRecord;
    }
const RecordType* operator-> ( ) const [inline]

Definition at line 159 of file fbxredblacktree.h.

    {
        FBX_ASSERT( mRecord );

        return mRecord;
    }
const RecordType* operator-> ( ) [inline]

Definition at line 166 of file fbxredblacktree.h.

    {
        FBX_ASSERT( mRecord );

        return mRecord;
    }
bool operator== ( const FbxRedBlackConstIterator< RecordType > &  pOther) const [inline]

Definition at line 173 of file fbxredblacktree.h.

    {
        return mRecord == pOther.mRecord;
    }
bool operator!= ( const FbxRedBlackConstIterator< RecordType > &  pOther) const [inline]

Definition at line 178 of file fbxredblacktree.h.

    {
        return mRecord != pOther.mRecord;
    }

Friends And Related Function Documentation

friend class FbxRedBlackIterator< RecordType > [friend]

Definition at line 186 of file fbxredblacktree.h.


Member Data Documentation

const RecordType* mRecord [protected]

Definition at line 184 of file fbxredblacktree.h.


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