Public Member Functions | Static Public Member Functions | Friends

KFbxDataType Class Reference

This reference page is linked to from the following overview topics: List of Python FBX classes.


Search for all occurrences

Detailed Description

FBX SDK data type class.

Examples:

ImportScene/DisplayAnimation.cxx, ImportScene/DisplayMaterial.cxx, and ImportScene/DisplayUserProperties.cxx.

Definition at line 36 of file kfbxdatatypes.h.

#include <kfbxdatatypes.h>

List of all members.

Public Member Functions

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

Static Public Member Functions

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

Friends

class  KFbxSdkManager

Constructor and Destructor.

  KFbxDataType ()
  Constructor.
  KFbxDataType (KFbxDataType const &pDataType)
  Copy constructor.
void  Destroy ()
  Destroy this datatype.
  KFbxDataType (KFbxTypeInfoHandle const &pTypeInfoHandle)
  Constructor.
  ~KFbxDataType ()
  Destructor.

boolean operation

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

Constructor & Destructor Documentation

Constructor.

KFbxDataType ( KFbxDataType const &  pDataType )

Copy constructor.

Parameters:
pDataType Another KFbxDataType object copied to this one.
KFbxDataType ( KFbxTypeInfoHandle const &  pTypeInfoHandle )

Constructor.

Parameters:
pTypeInfoHandle Type information handle

Destructor.


Member Function Documentation

static KFbxDataType Create ( const char *  pName,
EFbxType  pType 
) [static]
static KFbxDataType Create ( const char *  pName,
KFbxDataType const &  pDataType 
) [static]
void Destroy ( )

Destroy this datatype.

KFbxDataType& operator= ( const KFbxDataType pDataType ) [inline]

Assignment operator.

Parameters:
pDataType Datatype whose value is assigned to this datatype.
Returns:
this datatype

Definition at line 71 of file kfbxdatatypes.h.

{ mTypeInfoHandle=pDataType.mTypeInfoHandle; return *this;  }
bool operator== ( const KFbxDataType pDataType ) const [inline]

Equality operator.

Parameters:
pDataType Datatype to compare to.
Returns:
true if equal,false otherwise.

Definition at line 82 of file kfbxdatatypes.h.

{ return mTypeInfoHandle==pDataType.mTypeInfoHandle;        }
bool operator!= ( const KFbxDataType pDataType ) const [inline]

Non-equality operator.

Parameters:
pDataType Datatype to compare to.
Returns:
true if unequal,false otherwise.

Definition at line 88 of file kfbxdatatypes.h.

{ return mTypeInfoHandle!=pDataType.mTypeInfoHandle;        }
bool Valid ( ) const [inline]

Test whether this datatype is a valid datatype.

Returns:
true if valid, false otherwise.

Definition at line 95 of file kfbxdatatypes.h.

{ return mTypeInfoHandle.Valid(); }
bool Is ( const KFbxDataType pDataType ) const [inline]

Test if this datatype is the specified datatype.

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

Definition at line 101 of file kfbxdatatypes.h.

{ return mTypeInfoHandle.Is(pDataType.mTypeInfoHandle); }
EFbxType GetType ( ) const

Retrieve this data type.

Returns:
this data type.
Examples:
ImportScene/DisplayAnimation.cxx, and ImportScene/DisplayGenericInfo.cxx.
const char* GetName ( ) const

Retrieve data type name.

Returns:
data type name.
Examples:
ImportScene/DisplayGenericInfo.cxx, and ImportScene/DisplayMaterial.cxx.
KFbxTypeInfoHandle const& GetTypeInfoHandle ( ) const [inline]

Retrieve the information handle of this data type.

Returns:
information handle of this data type.

Definition at line 119 of file kfbxdatatypes.h.

{ return mTypeInfoHandle; }

Friends And Related Function Documentation

friend class KFbxSdkManager [friend]

Definition at line 121 of file kfbxdatatypes.h.


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

KFbxDataType KFbxDataType KFbxDataType KFbxDataType KFbxDataType KFbxDataType KFbxDataType KFbxDataType KFbxDataType KFbxDataType
KFbxDataType KFbxDataType KFbxDataType KFbxDataType KFbxDataType KFbxDataType KFbxDataType KFbxDataType KFbxDataType KFbxDataType