FBX C++ API Reference
FbxDataType Class Reference

#include <fbxdatatypes.h>

Class Description

Public Member Functions

FbxDataTypeoperator= (const FbxDataType &pDataType)
 Assignment operator. More...
 
bool Valid () const
 Test whether this datatype is a valid datatype. More...
 
bool Is (const FbxDataType &pDataType) const
 Test if this datatype is the specified datatype. More...
 
EFbxType GetType () const
 Retrieve this data type. More...
 
const char * GetName () const
 Retrieve data type name. More...
 
const FbxPropertyHandleGetTypeInfoHandle () const
 Retrieve the information handle of this data type. More...
 

Static Public Member Functions

static FbxDataType Create (const char *pName, const EFbxType pType)
 
static FbxDataType Create (const char *pName, const FbxDataType &pDataType)
 

Friends

class FbxManager
 

Constructor and Destructor.

 FbxDataType ()
 Constructor. More...
 
 FbxDataType (const FbxDataType &pDataType)
 Copy constructor. More...
 
void Destroy ()
 Destroy this datatype. More...
 
 FbxDataType (const FbxPropertyHandle &pTypeInfoHandle)
 Constructor. More...
 
 ~FbxDataType ()
 Destructor. More...
 

boolean operation

bool operator== (const FbxDataType &pDataType) const
 Equality operator. More...
 
bool operator!= (const FbxDataType &pDataType) const
 Non-equality operator. More...
 

Constructor & Destructor Documentation

◆ FbxDataType() [1/3]

Constructor.

◆ FbxDataType() [2/3]

FbxDataType ( const FbxDataType pDataType)

Copy constructor.

Parameters
pDataTypeAnother FbxDataType object copied to this one.

◆ FbxDataType() [3/3]

FbxDataType ( const FbxPropertyHandle pTypeInfoHandle)

Constructor.

Parameters
pTypeInfoHandleType information handle

◆ ~FbxDataType()

Destructor.

Member Function Documentation

◆ Create() [1/2]

static FbxDataType Create ( const char *  pName,
const EFbxType  pType 
)
static

◆ Create() [2/2]

static FbxDataType Create ( const char *  pName,
const FbxDataType pDataType 
)
static

◆ Destroy()

void Destroy ( )

Destroy this datatype.

◆ operator=()

FbxDataType& operator= ( const FbxDataType pDataType)
inline

Assignment operator.

Parameters
pDataTypeDatatype whose value is assigned to this datatype.
Returns
This datatype

Definition at line 60 of file fbxdatatypes.h.

60 { mTypeInfoHandle=pDataType.mTypeInfoHandle; return *this; }

◆ operator==()

bool operator== ( const FbxDataType pDataType) const
inline

Equality operator.

Parameters
pDataTypeDatatype to compare to.
Returns
true if equal,false otherwise.

Definition at line 70 of file fbxdatatypes.h.

70 { return mTypeInfoHandle==pDataType.mTypeInfoHandle; }

◆ operator!=()

bool operator!= ( const FbxDataType pDataType) const
inline

Non-equality operator.

Parameters
pDataTypeDatatype to compare to.
Returns
true if unequal,false otherwise.

Definition at line 76 of file fbxdatatypes.h.

76 { return mTypeInfoHandle!=pDataType.mTypeInfoHandle; }

◆ Valid()

bool Valid ( ) const
inline

Test whether this datatype is a valid datatype.

Returns
true if valid, false otherwise.

Definition at line 82 of file fbxdatatypes.h.

82 { return mTypeInfoHandle.Valid(); }
bool Valid() const
Judge validity.

◆ Is()

bool Is ( const FbxDataType pDataType) const
inline

Test if this datatype is the specified datatype.

Parameters
pDataTypeDatatype to compare to.
Returns
true if this datatype is the specified datatype, false otherwise.
Examples:
ImportScene/DisplayAnimation.cxx.

Definition at line 88 of file fbxdatatypes.h.

88 { return mTypeInfoHandle.Is(pDataType.mTypeInfoHandle); }
bool Is(const FbxPropertyHandle &pHandle) const
Compare type info together.

◆ GetType()

EFbxType GetType ( ) const

Retrieve this data type.

Returns
This data type.
Examples:
ImportScene/DisplayAnimation.cxx, and ImportScene/DisplayGenericInfo.cxx.

◆ GetName()

const char* GetName ( ) const

Retrieve data type name.

Returns
Data type name.
Examples:
ImportScene/DisplayGenericInfo.cxx, and ImportScene/DisplayMaterial.cxx.

◆ GetTypeInfoHandle()

const FbxPropertyHandle& GetTypeInfoHandle ( ) const
inline

Retrieve the information handle of this data type.

Returns
Information handle of this data type.

Definition at line 103 of file fbxdatatypes.h.

103 { return mTypeInfoHandle; }

Friends And Related Function Documentation

◆ FbxManager

friend class FbxManager
friend

Definition at line 107 of file fbxdatatypes.h.


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