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

#include <fbxobject.h>

Class Description

template<class Type>
class FbxIteratorSrc< Type >

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

The class is a wrapper of FbxIteratorSrcBase with template.

Definition at line 1220 of file fbxobject.h.

+ Inheritance diagram for FbxIteratorSrc< Type >:

Public Member Functions

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

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ FbxIteratorSrc() [1/2]

FbxIteratorSrc ( FbxObject pObject)
inline

Constructor.

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

Definition at line 1227 of file fbxobject.h.

1227 : FbxIteratorSrcBase(pObject,Type::ClassId) {}
FbxIteratorSrcBase(FbxProperty &pProperty, FbxClassId pClassId)
Constructor.
Definition: fbxobject.h:1103

◆ FbxIteratorSrc() [2/2]

FbxIteratorSrc ( FbxProperty pProperty)
inline

Constructor.

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

Definition at line 1233 of file fbxobject.h.

1233 : FbxIteratorSrcBase(pProperty,Type::ClassId) {}
FbxIteratorSrcBase(FbxProperty &pProperty, FbxClassId pClassId)
Constructor.
Definition: fbxobject.h:1103

Member Function Documentation

◆ GetFirst()

Type* GetFirst ( )
inline

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

Returns
The first source object.

Definition at line 1239 of file fbxobject.h.

1239 { return (Type*)FbxIteratorSrcBase::GetFirst(); }
FbxObject * GetFirst()
Get the first source object that connects to the property or object.
Definition: fbxobject.h:1130

◆ GetNext()

Type* GetNext ( )
inline

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

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

Definition at line 1245 of file fbxobject.h.

1245 { return (Type*)FbxIteratorSrcBase::GetNext(); }
FbxObject * GetNext()
Get next source object that connects to the property or object.
Definition: fbxobject.h:1140

◆ GetSafeNext()

Type* GetSafeNext ( )
inline

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

Returns
The next source 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 1252 of file fbxobject.h.

1252 { return (Type*)FbxIteratorSrcBase::GetSafeNext(); }
FbxObject * GetSafeNext()
Get next source object that connects to the property or object.
Definition: fbxobject.h:1151

◆ GetLast()

Type* GetLast ( )
inline

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

Returns
The last source object.

Definition at line 1258 of file fbxobject.h.

1258 { return (Type*)FbxIteratorSrcBase::GetLast(); }
FbxObject * GetLast()
Get the last source object that connects to the property or object.
Definition: fbxobject.h:1161

◆ GetPrevious()

Type* GetPrevious ( )
inline

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

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

Definition at line 1265 of file fbxobject.h.

1265 { return (Type*)FbxIteratorSrcBase::GetPrevious(); }
FbxObject * GetPrevious()
Get previous source object that connects to the property or object.
Definition: fbxobject.h:1171

◆ GetSafePrevious()

Type* GetSafePrevious ( )
inline

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

Returns
The previous source 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 source object is returned.

Definition at line 1273 of file fbxobject.h.

1273 { return (Type*)FbxIteratorSrcBase::GetSafePrevious(); }
FbxObject * GetSafePrevious()
Get previous source object that connects to the property or object.
Definition: fbxobject.h:1183

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