FbxPropertyEntryView Class Reference
 
 
 
FbxPropertyEntryView Class Reference

#include <fbxpropertyentryview.h>


Class Description

FbxPropertyEntryView represents property entry in entry tables.

The property can be used as source or destination for the binding entry. Use this class to manipulate binding table's attributes.

 Here is a code snippet to show how it used.
 FbxProperty lProp;
 FbxBindingTable lTable;
 FbxBindingTableEntry& lEntry = lBindingTable.AddNewEntry();
 FbxPropertyEntryView lView( lEntry, true, true);
 lView.SetProperty( lProp.GetName());
See also:
FbxBindingTableEntry and FbxBindingTable.
Examples:

ExportShader/main.cxx.

Definition at line 39 of file fbxpropertyentryview.h.

Inheritance diagram for FbxPropertyEntryView:
FbxEntryView

List of all members.

Public Member Functions

const char *  GetProperty () const
  Get the property name from the binding entry.
void  SetProperty (const char *pPropertyName)
  Set the property name to the binding entry.
virtual const char *  EntryType () const
  Get the entry type.

Static Public Attributes

static const char *  sEntryType
  Name of the entry type used in the binding entry.

Constructor and Destructor.

  FbxPropertyEntryView (FbxBindingTableEntry *pEntry, bool pAsSource, bool pCreate=false)
  Constructor.
  ~FbxPropertyEntryView ()
  Destructor.

Constructor & Destructor Documentation

FbxPropertyEntryView ( FbxBindingTableEntry pEntry,
bool  pAsSource,
bool  pCreate = false 
)

Constructor.

Parameters:
pEntry The binding table entry to create the entry view for.
pAsSource true to create the entry view as source, false as destination.
pCreate true to create the entry view, false otherwise.

Destructor.


Member Function Documentation

const char* GetProperty ( ) const

Get the property name from the binding entry.

Returns:
The property name.
void SetProperty ( const char *  pPropertyName )

Set the property name to the binding entry.

Parameters:
pPropertyName The property name to set.
virtual const char* EntryType ( ) const [virtual]

Get the entry type.

Returns:
Entry type as string "FbxPropertyEntry".
Remarks:
Always use EntryType() to get the right entry type.

Reimplemented from FbxEntryView.


Member Data Documentation

const char* sEntryType [static]

Name of the entry type used in the binding entry.

It should be "FbxPropertyEntry" in this case.

Reimplemented from FbxEntryView.

Examples:
ImportScene/DisplayMaterial.cxx.

Definition at line 46 of file fbxpropertyentryview.h.


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