Fbx6ClassTemplateMap Class Reference

Fbx6ClassTemplateMap Class Reference

#include <fbxreaderfbx6.h>

Class Description

Helper class to merge Class root property templates.

Add class id and object to the template and search object by class id.

Definition at line 30 of file fbxreaderfbx6.h.

Public Member Functions

 Fbx6ClassTemplateMap ()
 Constructor. More...
 
 ~Fbx6ClassTemplateMap ()
 Destructor. More...
 
bool AddClassId (FbxClassId pId, FbxObject *pTemplateObject)
 Add the template object to template map. More...
 
bool MergeWithTemplate (FbxObject *pObject) const
 Merge the properties of FbxObject with the object with the same class id. More...
 
void Clear ()
 Delete all FbxObject in template map. More...
 

Constructor & Destructor Documentation

Constructor.

Destructor.

Member Function Documentation

bool AddClassId ( FbxClassId  pId,
FbxObject pTemplateObject 
)

Add the template object to template map.

Parameters
pIdClass Id
pTemplateObjecttemplate object
Returns
if the object is successfully added return true, otherwise return false.
bool MergeWithTemplate ( FbxObject pObject) const

Merge the properties of FbxObject with the object with the same class id.

Parameters
pObjectThe FbxObject to merge
Returns
if the object is merged return true, otherwise return false.
void Clear ( )

Delete all FbxObject in template map.


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