Public Member Functions | Protected Member Functions | Protected Attributes

KFbxIteratorDstBase Class Reference

Search for all occurrences

Detailed Description

Definition at line 1371 of file kfbxobject.h.

#include <kfbxobject.h>

Inheritance diagram for KFbxIteratorDstBase:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  KFbxIteratorDstBase (KFbxProperty &pProperty, kFbxClassId pClassId)
  KFbxIteratorDstBase (KFbxObject *pObject, kFbxClassId pClassId)
KFbxObject GetFirst ()
KFbxObject GetNext ()
KFbxObject GetSafeNext ()
KFbxObject GetLast ()
KFbxObject GetPrevious ()
KFbxObject GetSafePrevious ()

Protected Member Functions

void  ResetToBegin ()
void  ResetToEnd ()

Protected Attributes

KFbxProperty  mProperty
kFbxClassId  mClassId
int  mSize
int  mIndex

Constructor & Destructor Documentation

KFbxIteratorDstBase ( KFbxProperty pProperty,
kFbxClassId  pClassId 
) [inline]

Definition at line 1379 of file kfbxobject.h.

                                                                             :
        mProperty(pProperty),
        mClassId(pClassId),
        mSize(0),
        mIndex(-1)
    {
        ResetToBegin();
    }
KFbxIteratorDstBase ( KFbxObject pObject,
kFbxClassId  pClassId 
) [inline]

Definition at line 1387 of file kfbxobject.h.

                                                                         :
        mProperty(pObject->RootProperty),
        mClassId(pClassId),
        mSize(0),
        mIndex(-1)
    {
        ResetToBegin();
    }

Member Function Documentation

KFbxObject* GetFirst ( ) [inline]

Reimplemented in KFbxIteratorDst< Type >.

Definition at line 1395 of file kfbxobject.h.

    {
        ResetToBegin();
        return GetNext();
    }
KFbxObject* GetNext ( ) [inline]

Reimplemented in KFbxIteratorDst< Type >.

Definition at line 1400 of file kfbxobject.h.

    {
        mIndex++;
        return ((mIndex>=0) && (mIndex<mSize)) ? mProperty.GetDstObject(mClassId,mIndex) : NULL;
    }
KFbxObject* GetSafeNext ( ) [inline]

Reimplemented in KFbxIteratorDst< Type >.

Definition at line 1405 of file kfbxobject.h.

KFbxObject* GetLast ( ) [inline]

Reimplemented in KFbxIteratorDst< Type >.

Definition at line 1410 of file kfbxobject.h.

    {
        ResetToEnd();
        return GetPrevious();
    }
KFbxObject* GetPrevious ( ) [inline]

Reimplemented in KFbxIteratorDst< Type >.

Definition at line 1415 of file kfbxobject.h.

    {
        mIndex--;
        return ((mIndex>=0) && (mIndex<mSize)) ? mProperty.GetDstObject(mClassId,mIndex) : NULL;
    }
KFbxObject* GetSafePrevious ( ) [inline]

Reimplemented in KFbxIteratorDst< Type >.

Definition at line 1420 of file kfbxobject.h.

void ResetToBegin ( ) [inline, protected]
void ResetToEnd ( ) [inline, protected]

Member Data Documentation

Definition at line 1374 of file kfbxobject.h.

kFbxClassId mClassId [protected]

Definition at line 1375 of file kfbxobject.h.

int mSize [protected]

Definition at line 1376 of file kfbxobject.h.

int mIndex [protected]

Definition at line 1377 of file kfbxobject.h.


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

KFbxIteratorDstBase KFbxIteratorDstBase KFbxIteratorDstBase KFbxIteratorDstBase KFbxIteratorDstBase KFbxIteratorDstBase KFbxIteratorDstBase KFbxIteratorDstBase KFbxIteratorDstBase KFbxIteratorDstBase
KFbxIteratorDstBase KFbxIteratorDstBase KFbxIteratorDstBase KFbxIteratorDstBase KFbxIteratorDstBase KFbxIteratorDstBase KFbxIteratorDstBase KFbxIteratorDstBase KFbxIteratorDstBase KFbxIteratorDstBase