KFbxBindingTableBase Class Reference

#include <kfbxbindingtablebase.h>
Inheritance diagram for KFbxBindingTableBase:
Inheritance graph
[legend]

List of all members.


Detailed Description

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

See KFbxBindingTableEntry.

Definition at line 57 of file kfbxbindingtablebase.h.


Public Member Functions

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

Member Function Documentation

KFbxBindingTableEntry& AddNewEntry (  ) 

Adds a new entry to the binding table.

Returns:
The new entry

size_t GetEntryCount (  )  const

Query the number of table entries.

Returns:
The number of entries

KFbxBindingTableEntry 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.

KFbxBindingTableEntry& 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.

KFbxBindingTableEntry const* GetEntryForSource ( char const *  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.

KFbxBindingTableEntry const* GetEntryForDestination ( char const *  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.

Referenced by GetBoundPropertyValue().

KFbxBindingTableBase KFbxBindingTableBase KFbxBindingTableBase KFbxBindingTableBase KFbxBindingTableBase KFbxBindingTableBase KFbxBindingTableBase KFbxBindingTableBase KFbxBindingTableBase KFbxBindingTableBase
KFbxBindingTableBase KFbxBindingTableBase KFbxBindingTableBase KFbxBindingTableBase KFbxBindingTableBase KFbxBindingTableBase KFbxBindingTableBase KFbxBindingTableBase KFbxBindingTableBase KFbxBindingTableBase