FBX C++ API Reference
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FbxIteratorDst< Type > Class Template Reference

#include <fbxobject.h>

Class Description

template<class Type>
class FbxIteratorDst< Type >

A utility class for iterating over destination objects that connect to property (FbxProperty) or object (FbxObject).

The class is a wrapper of FbxIteratorDstBase with template.

Definition at line 1409 of file fbxobject.h.

+ Inheritance diagram for FbxIteratorDst< Type >:

Public Member Functions

 FbxIteratorDst (FbxObject *pObject)
 Constructor. More...
 
 FbxIteratorDst (FbxProperty &pProperty)
 Constructor. More...
 
Type * GetFirst ()
 Get the first destination object that connects to the property or object. More...
 
Type * GetNext ()
 Get next destination object that connects to the property or object. More...
 
Type * GetSafeNext ()
 Get next destination object that connects to the property or object. More...
 
Type * GetLast ()
 Get the last destination object that connects to the property or object. More...
 
Type * GetPrevious ()
 Get previous destination object that connects to the property or object. More...
 
Type * GetSafePrevious ()
 Get previous destination object that connects to the property or object. More...
 

Additional Inherited Members

- Protected Member Functions inherited from FbxIteratorDstBase
void ResetToBegin ()
 Reset the iterate index to the beginning. More...
 
void ResetToEnd ()
 Reset the iterate index to the end. More...
 
 FbxIteratorDstBase (FbxProperty &pProperty, FbxClassId pClassId)
 Constructor. More...
 
 FbxIteratorDstBase (FbxObject *pObject, FbxClassId pClassId)
 Constructor. More...
 
FbxObjectGetFirst ()
 Get the first destination object that connects to the property or object. More...
 
FbxObjectGetNext ()
 Get next destination object that connects to the property or object. More...
 
FbxObjectGetSafeNext ()
 Get next destination object that connects to the property or object. More...
 
FbxObjectGetLast ()
 Get the last destination object that connects to the property or object. More...
 
FbxObjectGetPrevious ()
 Get previous destination object that connects to the property or object. More...
 
FbxObjectGetSafePrevious ()
 Get previous destination object that connects to the property or object. More...
 
- Protected Attributes inherited from FbxIteratorDstBase
FbxProperty mProperty
 The property to iterate. More...
 
FbxClassId mClassId
 The class ID specifies the type of the destination objects to be retrieved. More...
 
int mSize
 The number of destination objects whose type is specified by mClassId. More...
 
int mIndex
 Iterate index. More...
 

Constructor & Destructor Documentation

◆ FbxIteratorDst() [1/2]

FbxIteratorDst ( FbxObject pObject)
inline

Constructor.

Parameters
pObjectFBX object. The iterator will iterate destination objects that connect to it.

Definition at line 1416 of file fbxobject.h.

1416 : FbxIteratorDstBase(pObject,Type::ClassId) {}
FbxIteratorDstBase(FbxProperty &pProperty, FbxClassId pClassId)
Constructor.
Definition: fbxobject.h:1297

◆ FbxIteratorDst() [2/2]

FbxIteratorDst ( FbxProperty pProperty)
inline

Constructor.

Parameters
pPropertyProperty object. The iterator will iterate destination objects that connect to it.

Definition at line 1422 of file fbxobject.h.

1422 : FbxIteratorDstBase(pProperty,Type::ClassId) {}
FbxIteratorDstBase(FbxProperty &pProperty, FbxClassId pClassId)
Constructor.
Definition: fbxobject.h:1297

Member Function Documentation

◆ GetFirst()

Type* GetFirst ( )
inline

Get the first destination object that connects to the property or object.

Returns
The first destination object.

Definition at line 1428 of file fbxobject.h.

1428 { return (Type*)FbxIteratorDstBase::GetFirst(); }
FbxObject * GetFirst()
Get the first destination object that connects to the property or object.
Definition: fbxobject.h:1324

◆ GetNext()

Type* GetNext ( )
inline

Get next destination object that connects to the property or object.

Returns
The next destination object. If there are no more objects, return NULL.

Definition at line 1434 of file fbxobject.h.

1434 { return (Type*)FbxIteratorDstBase::GetNext(); }
FbxObject * GetNext()
Get next destination object that connects to the property or object.
Definition: fbxobject.h:1334

◆ GetSafeNext()

Type* GetSafeNext ( )
inline

Get next destination object that connects to the property or object.

Returns
The next destination object. If there are no more objects, return NULL.
Remarks
This method makes sure the iterate index is not out of bounds.

Definition at line 1441 of file fbxobject.h.

1441 { return (Type*)FbxIteratorDstBase::GetSafeNext(); }
FbxObject * GetSafeNext()
Get next destination object that connects to the property or object.
Definition: fbxobject.h:1345

◆ GetLast()

Type* GetLast ( )
inline

Get the last destination object that connects to the property or object.

Returns
The last destination object.

Definition at line 1447 of file fbxobject.h.

1447 { return (Type*)FbxIteratorDstBase::GetLast(); }
FbxObject * GetLast()
Get the last destination object that connects to the property or object.
Definition: fbxobject.h:1355

◆ GetPrevious()

Type* GetPrevious ( )
inline

Get previous destination object that connects to the property or object.

Returns
The previous destination object. If there are no more objects, return NULL.

Definition at line 1453 of file fbxobject.h.

1453 { return (Type*)FbxIteratorDstBase::GetPrevious(); }
FbxObject * GetPrevious()
Get previous destination object that connects to the property or object.
Definition: fbxobject.h:1365

◆ GetSafePrevious()

Type* GetSafePrevious ( )
inline

Get previous destination object that connects to the property or object.

Returns
The previous destination object. If there are no more objects, return NULL.
Remarks
This method makes sure the iterate index is not out of bounds. If the iterate index is out of bounds, the last destination object is returned.

Definition at line 1461 of file fbxobject.h.

1461 { return (Type*)FbxIteratorDstBase::GetSafePrevious(); }
FbxObject * GetSafePrevious()
Get previous destination object that connects to the property or object.
Definition: fbxobject.h:1377

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