FbxIteratorSrc< Type > Class Template Reference
 
 
 
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 1401 of file fbxobject.h.

Inheritance diagram for FbxIteratorSrc< Type >:
FbxIteratorSrcBase

List of all members.

Public Member Functions

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

Constructor & Destructor Documentation

FbxIteratorSrc ( FbxObject pObject ) [inline]

Constructor.

Parameters:
pObject FBX object. The iterator will iterate source objects that connect to it.

Definition at line 1408 of file fbxobject.h.

: FbxIteratorSrcBase(pProperty,Type::ClassId) {}
FbxIteratorSrc ( FbxProperty pProperty ) [inline]

Constructor.

Parameters:
pProperty Property object. The iterator will iterate source objects that connect to it.

Definition at line 1414 of file fbxobject.h.

{ return (Type*)FbxIteratorSrcBase::GetFirst(); }

Member Function Documentation

Type* GetFirst ( ) [inline]

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

Returns:
The first source object.

Reimplemented from FbxIteratorSrcBase.

Definition at line 1420 of file fbxobject.h.

{ return (Type*)FbxIteratorSrcBase::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.

Reimplemented from FbxIteratorSrcBase.

Definition at line 1426 of file fbxobject.h.

{ return (Type*)FbxIteratorSrcBase::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.

Reimplemented from FbxIteratorSrcBase.

Definition at line 1433 of file fbxobject.h.

{ return (Type*)FbxIteratorSrcBase::GetLast(); }
Type* GetLast ( ) [inline]

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

Returns:
The last source object.

Reimplemented from FbxIteratorSrcBase.

Definition at line 1439 of file fbxobject.h.

{ return (Type*)FbxIteratorSrcBase::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.

Reimplemented from FbxIteratorSrcBase.

Definition at line 1446 of file fbxobject.h.

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.

Reimplemented from FbxIteratorSrcBase.

Definition at line 1454 of file fbxobject.h.

{

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