Public Member Functions | Protected Attributes | Friends

FbxRedBlackIterator< RecordType > Class Template Reference

Search for all occurrences

Detailed Description

template<typename RecordType>
class FbxRedBlackIterator< RecordType >

Definition at line 30 of file fbxredblacktree.h.

#include <fbxredblacktree.h>

List of all members.

Public Member Functions

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

Protected Attributes

RecordType * mRecord

Friends

class FbxRedBlackConstIterator< RecordType >

Constructor & Destructor Documentation

FbxRedBlackIterator ( ) [inline]

Definition at line 33 of file fbxredblacktree.h.

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

Definition at line 34 of file fbxredblacktree.h.

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

Definition at line 35 of file fbxredblacktree.h.

: mRecord(pV.mRecord) {}

Member Function Documentation

FbxRedBlackIterator& operator++ ( ) [inline]

Definition at line 37 of file fbxredblacktree.h.

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

Definition at line 44 of file fbxredblacktree.h.

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

Definition at line 51 of file fbxredblacktree.h.

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

Definition at line 58 of file fbxredblacktree.h.

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

Definition at line 65 of file fbxredblacktree.h.

    {
        FBX_ASSERT( mRecord );

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

Definition at line 72 of file fbxredblacktree.h.

    {
        FBX_ASSERT( mRecord );

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

Definition at line 79 of file fbxredblacktree.h.

    {
        FBX_ASSERT( mRecord );

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

Definition at line 86 of file fbxredblacktree.h.

    {
        FBX_ASSERT( mRecord );

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

Definition at line 93 of file fbxredblacktree.h.

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

Definition at line 98 of file fbxredblacktree.h.

    {
        return mRecord != pOther.mRecord;
    }

Friends And Related Function Documentation

friend class FbxRedBlackConstIterator< RecordType > [friend]

Definition at line 106 of file fbxredblacktree.h.


Member Data Documentation

RecordType* mRecord [protected]

Definition at line 104 of file fbxredblacktree.h.


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