FbxIteratorDst< Type > Class Template Reference

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 1469 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 ( FbxObject pObject)
inline

Constructor.

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

Definition at line 1476 of file fbxobject.h.

1476 : FbxIteratorDstBase(pObject,Type::ClassId) {}
FbxIteratorDstBase(FbxProperty &pProperty, FbxClassId pClassId)
Constructor.
Definition: fbxobject.h:1357
FbxIteratorDst ( FbxProperty pProperty)
inline

Constructor.

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

Definition at line 1482 of file fbxobject.h.

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

Member Function Documentation

Type* GetFirst ( )
inline

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

Returns
The first destination object.

Definition at line 1488 of file fbxobject.h.

1488 { return (Type*)FbxIteratorDstBase::GetFirst(); }
FbxObject * GetFirst()
Get the first destination object that connects to the property or object.
Definition: fbxobject.h:1384
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 1494 of file fbxobject.h.

1494 { return (Type*)FbxIteratorDstBase::GetNext(); }
FbxObject * GetNext()
Get next destination object that connects to the property or object.
Definition: fbxobject.h:1394
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 1501 of file fbxobject.h.

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

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

Returns
The last destination object.

Definition at line 1507 of file fbxobject.h.

1507 { return (Type*)FbxIteratorDstBase::GetLast(); }
FbxObject * GetLast()
Get the last destination object that connects to the property or object.
Definition: fbxobject.h:1415
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 1513 of file fbxobject.h.

1513 { return (Type*)FbxIteratorDstBase::GetPrevious(); }
FbxObject * GetPrevious()
Get previous destination object that connects to the property or object.
Definition: fbxobject.h:1425
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 1521 of file fbxobject.h.

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

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