#include <fbxobject.h>
A utility class for iterating over source objects that connect to property (FbxProperty) or object (FbxObject).
Definition at line 1276 of file fbxobject.h.
Public Member Functions |
|
| FbxIteratorSrcBase (FbxProperty &pProperty, FbxClassId pClassId) | |
| Constructor. |
|
| FbxIteratorSrcBase (FbxObject *pObject, FbxClassId pClassId) | |
| Constructor. |
|
| FbxObject * | GetFirst () |
| Get the first source object that connects to
the property or object. |
|
| FbxObject * | GetNext () |
| Get next source object that connects to the
property or object. |
|
| FbxObject * | GetSafeNext () |
| Get next source object that connects to the
property or object. |
|
| FbxObject * | GetLast () |
| Get the last source object that connects to
the property or object. |
|
| FbxObject * | GetPrevious () |
| Get previous source object that connects to
the property or object. |
|
| FbxObject * | GetSafePrevious () |
| Get previous source object that connects to
the property or object. |
|
Protected Member Functions |
|
| void | ResetToBegin () |
| Reset the iterate index to the beginning.
|
|
| void | ResetToEnd () |
| Reset the iterate index to the end. |
|
Protected Attributes |
|
| FbxProperty | mProperty |
| FbxClassId | mClassId |
| The property to iterate. If iterate an
object, this is the root property of the object. |
|
| int | mSize |
| The class ID specifies the type of the
source objects to be retrieved. |
|
| int | mIndex |
| The number of source objects whose type is
specified by mClassId. |
|
| FbxIteratorSrcBase | ( | FbxProperty & | pProperty, |
| FbxClassId | pClassId | ||
| ) | [inline] |
Constructor.
| pProperty | Property object. The iterator will iterate source objects that connect to it. |
| pClassId | The class ID specifies the type of the source objects. |
Definition at line 1284 of file fbxobject.h.
{
ResetToBegin();
}
| FbxIteratorSrcBase | ( | FbxObject * | pObject, |
| FbxClassId | pClassId | ||
| ) | [inline] |
Constructor.
| pObject | FBX object. The iterator will iterate source objects that connect to it. |
| pClassId | The class ID specifies the type of the source objects. |
Definition at line 1298 of file fbxobject.h.
{
ResetToBegin();
}
| FbxObject* GetFirst | ( | ) | [inline] |
Get the first source object that connects to the property or object.
Reimplemented in FbxIteratorSrc< Type >.
Definition at line 1311 of file fbxobject.h.
{
| FbxObject* GetNext | ( | ) | [inline] |
Get next source object that connects to the property or object.
Reimplemented in FbxIteratorSrc< Type >.
Definition at line 1321 of file fbxobject.h.
: NULL;
}
| FbxObject* GetSafeNext | ( | ) | [inline] |
Get next source object that connects to the property or object.
Reimplemented in FbxIteratorSrc< Type >.
Definition at line 1332 of file fbxobject.h.
{
| FbxObject* GetLast | ( | ) | [inline] |
Get the last source object that connects to the property or object.
Reimplemented in FbxIteratorSrc< Type >.
Definition at line 1342 of file fbxobject.h.
{
| FbxObject* GetPrevious | ( | ) | [inline] |
Get previous source object that connects to the property or object.
Reimplemented in FbxIteratorSrc< Type >.
Definition at line 1352 of file fbxobject.h.
: NULL;
}
| FbxObject* GetSafePrevious | ( | ) | [inline] |
Get previous source object that connects to the property or object.
Reimplemented in FbxIteratorSrc< Type >.
Definition at line 1364 of file fbxobject.h.
:
| void ResetToBegin | ( | ) | [inline, protected] |
| void ResetToEnd | ( | ) | [inline, protected] |
Reset the iterate index to the end.
Definition at line 1384 of file fbxobject.h.
: protected FbxIteratorSrcBase
FbxProperty
mProperty [protected] |
Definition at line 1390 of file fbxobject.h.
FbxClassId
mClassId [protected] |
The property to iterate. If iterate an object, this is the root property of the object.
Definition at line 1391 of file fbxobject.h.
int
mSize [protected] |
The class ID specifies the type of the source objects to be retrieved.
Definition at line 1392 of file fbxobject.h.
int
mIndex [protected] |
The number of source objects whose type is specified by mClassId.
Definition at line 1393 of file fbxobject.h.