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 1590 of file fbxobject.h.

Inheritance diagram for FbxIteratorDst< Type >:
FbxIteratorDstBase

List of all members.

Public Member Functions

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

Constructor & Destructor Documentation

FbxIteratorDst ( FbxObject pObject ) [inline]

Constructor.

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

Definition at line 1597 of file fbxobject.h.

: FbxIteratorDstBase(pProperty,Type::ClassId) {}
FbxIteratorDst ( FbxProperty pProperty ) [inline]

Constructor.

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

Definition at line 1603 of file fbxobject.h.

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

Member Function Documentation

Type* GetFirst ( ) [inline]

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

Returns:
The first destination object.

Reimplemented from FbxIteratorDstBase.

Definition at line 1609 of file fbxobject.h.

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

Reimplemented from FbxIteratorDstBase.

Definition at line 1615 of file fbxobject.h.

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

Reimplemented from FbxIteratorDstBase.

Definition at line 1622 of file fbxobject.h.

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

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

Returns:
The last destination object.

Reimplemented from FbxIteratorDstBase.

Definition at line 1628 of file fbxobject.h.

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

Reimplemented from FbxIteratorDstBase.

Definition at line 1634 of file fbxobject.h.

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.

Reimplemented from FbxIteratorDstBase.

Definition at line 1642 of file fbxobject.h.

{

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