FBX C++ API Reference
FbxConstantEntryView Class Reference

#include <fbxconstantentryview.h>

Class Description

FbxConstantEntryView represents constant string entry in entry tables.

The constant string can be used as source or destination for the binding entry.

See also
FbxBindingTableEntry and FbxBindingTable.

Definition at line 28 of file fbxconstantentryview.h.

+ Inheritance diagram for FbxConstantEntryView:

Public Member Functions

 FbxConstantEntryView (FbxBindingTableEntry *pEntry, bool pAsSource, bool pCreate=false)
 Constructor. More...
 
 ~FbxConstantEntryView ()
 Destructor. More...
 
const char * GetConstantName () const
 Get the constant string for binding entry. More...
 
void SetConstantName (const char *pName)
 Set the constant string for binding entry. More...
 
virtual const char * EntryType () const
 Get the entry type. More...
 
- Public Member Functions inherited from FbxEntryView
virtual bool IsValid () const
 Check whether this entry view is valid or not. More...
 
virtual bool Create ()
 Create a new entry view. More...
 
 FbxEntryView (FbxBindingTableEntry *pEntry, bool pAsSource, bool pCreate=false)
 Constructor. More...
 
virtual ~FbxEntryView ()
 Destructor. More...
 

Static Public Attributes

static const char * sEntryType
 Name of the entry type used in the binding entry. More...
 
- Static Public Attributes inherited from FbxEntryView
static const char * sEntryType
 Entry type. More...
 

Constructor & Destructor Documentation

◆ FbxConstantEntryView()

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

Constructor.

Parameters
pEntryThe binding table entry to create the entry view for.
pAsSourcetrue to create the entry view as source, false as destination.
pCreatetrue to create the entry view, false otherwise.

◆ ~FbxConstantEntryView()

Destructor.

Member Function Documentation

◆ GetConstantName()

const char* GetConstantName ( ) const

Get the constant string for binding entry.

Returns
The constant string.

◆ SetConstantName()

void SetConstantName ( const char *  pName)

Set the constant string for binding entry.

Parameters
pNameThe constant string to set.

◆ EntryType()

virtual const char* EntryType ( ) const
virtual

Get the entry type.

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

Reimplemented from FbxEntryView.

Member Data Documentation

◆ sEntryType

const char* sEntryType
static

Name of the entry type used in the binding entry.

It should be "FbxConstantEntry" in this case.

Examples:
ImportScene/DisplayMaterial.cxx.

Definition at line 34 of file fbxconstantentryview.h.


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