Definition at line 1284 of file kfbxobject.h.
#include <kfbxobject.h>

Public Member Functions |
|
| KFbxIteratorSrcBase (KFbxProperty &pProperty, kFbxClassId pClassId) | |
| KFbxIteratorSrcBase (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 |
| KFbxIteratorSrcBase | ( | KFbxProperty & | pProperty, |
| kFbxClassId | pClassId | ||
| ) | [inline] |
Definition at line 1292 of file kfbxobject.h.
:
mProperty(pProperty),
mClassId(pClassId),
mSize(0),
mIndex(-1)
{
ResetToBegin();
}
| KFbxIteratorSrcBase | ( | KFbxObject * | pObject, |
| kFbxClassId | pClassId | ||
| ) | [inline] |
Definition at line 1300 of file kfbxobject.h.
:
mProperty(pObject->RootProperty),
mClassId(pClassId),
mSize(0),
mIndex(-1)
{
ResetToBegin();
}
| KFbxObject* GetFirst | ( | ) | [inline] |
Reimplemented in KFbxIteratorSrc< Type >.
Definition at line 1308 of file kfbxobject.h.
{
ResetToBegin();
return GetNext();
}
| KFbxObject* GetNext | ( | ) | [inline] |
Reimplemented in KFbxIteratorSrc< Type >.
Definition at line 1313 of file kfbxobject.h.
| KFbxObject* GetSafeNext | ( | ) | [inline] |
Reimplemented in KFbxIteratorSrc< Type >.
Definition at line 1318 of file kfbxobject.h.
{
mSize = mProperty.GetSrcObjectCount(mClassId);
return GetNext();
}
| KFbxObject* GetLast | ( | ) | [inline] |
Reimplemented in KFbxIteratorSrc< Type >.
Definition at line 1323 of file kfbxobject.h.
{
ResetToEnd();
return GetPrevious();
}
| KFbxObject* GetPrevious | ( | ) | [inline] |
Reimplemented in KFbxIteratorSrc< Type >.
Definition at line 1328 of file kfbxobject.h.
| KFbxObject* GetSafePrevious | ( | ) | [inline] |
Reimplemented in KFbxIteratorSrc< Type >.
Definition at line 1333 of file kfbxobject.h.
{
mSize = mProperty.GetSrcObjectCount(mClassId);
while (mIndex>mSize) mIndex--;
return GetPrevious();
}
| void ResetToBegin | ( | ) | [inline, protected] |
Definition at line 1343 of file kfbxobject.h.
{
mSize = mProperty.GetSrcObjectCount(mClassId);
mIndex = -1;
}
| void ResetToEnd | ( | ) | [inline, protected] |
Definition at line 1348 of file kfbxobject.h.
KFbxProperty
mProperty [protected] |
Definition at line 1287 of file kfbxobject.h.
kFbxClassId
mClassId [protected] |
Definition at line 1288 of file kfbxobject.h.
int
mSize [protected] |
Definition at line 1289 of file kfbxobject.h.
int
mIndex [protected] |
Definition at line 1290 of file kfbxobject.h.