FbxBindingTableBase Class Reference
 
 
 
FbxBindingTableBase Class Reference

#include <fbxbindingtablebase.h>


Class Description

A binding table represents a collection of bindings from source types such as FbxObject, or FbxLayerElements to destinations which can be of similar types.

FbxBindingTableEntry.

Definition at line 30 of file fbxbindingtablebase.h.

Inheritance diagram for FbxBindingTableBase:
FbxObject FbxEmitter FbxBindingOperator FbxBindingTable

List of all members.

Public Member Functions

FbxBindingTableEntry AddNewEntry ()
  Adds a new entry to the binding table.
size_t  GetEntryCount () const
  Query the number of table entries.
FbxBindingTableEntry const &  GetEntry (size_t pIndex) const
  Access a table entry.
FbxBindingTableEntry GetEntry (size_t pIndex)
  Access a table entry.
const FbxBindingTableEntry GetEntryForSource (const char *pSrcName) const
  Retrieve the table entry for the given source value.
const FbxBindingTableEntry GetEntryForDestination (const char *pDestName) const
  Retrieve the table entry for the given destination value.

Member Function Documentation

FbxBindingTableEntry& AddNewEntry ( )

Adds a new entry to the binding table.

Returns:
The new entry.
Examples:
ExportShader/main.cxx.
size_t GetEntryCount ( ) const

Query the number of table entries.

Returns:
The number of entries.
Examples:
ImportScene/DisplayMaterial.cxx.
FbxBindingTableEntry const& GetEntry ( size_t  pIndex ) const

Access a table entry.

Parameters:
pIndex Valid range is [0, GetEntryCount()-1].
Returns:
A valid table entry if pIndex is valid. Otherwise the value is undefined.
Examples:
ImportScene/DisplayMaterial.cxx.
FbxBindingTableEntry& GetEntry ( size_t  pIndex )

Access a table entry.

Parameters:
pIndex Valid range is [0, GetEntryCount()-1].
Returns:
A valid table entry if pIndex is valid. Otherwise the value is undefined.
const FbxBindingTableEntry* GetEntryForSource ( const char *  pSrcName ) const

Retrieve the table entry for the given source value.

Parameters:
pSrcName The source value to query.
Returns:
The corresponding entry, or NULL if no entry in the table has a source equal in value to pSrcName.
const FbxBindingTableEntry* GetEntryForDestination ( const char *  pDestName ) const

Retrieve the table entry for the given destination value.

Parameters:
pDestName The destination value to query.
Returns:
The corresponding entry, or NULL if no entry in the table has a destination equal in value to pDestName.

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