#include
<kfbxrenamingstrategy.h>
It can remove name clashing, remove illegal characters, manage namespaces and manage backward compatibility. It is better to choose KFbxSceneRenamer instead of this class to simplify the usage.
Definition at line 61 of file kfbxrenamingstrategy.h.
Public Types |
|
enum | EMode { eTO_FBX, eFROM_FBX, eMODE_COUNT } |
The mode describing the convention
direction, from FBX format or to FBX format. More... |
|
Public Member Functions |
|
KFbxRenamingStrategy (EMode pMod, bool pOnCreationRun=false) | |
Constructor. |
|
virtual | ~KFbxRenamingStrategy () |
Destructor. |
|
virtual bool | Rename (KName &pName) |
Rename a name if necessary. |
|
virtual void | Clear () |
Resets internal state regarding assigned
names. |
|
virtual KRenamingStrategy * | Clone () |
Create a dynamic renaming strategy instance
of the same type as the child class. |
enum EMode |
The mode describing the convention direction, from FBX format or to FBX format.
Definition at line 69 of file kfbxrenamingstrategy.h.
KFbxRenamingStrategy | ( | EMode | pMod, | |
bool | pOnCreationRun =
false |
|||
) |
Constructor.
pMod | The mode describing the convention direction, from FBX format or to FBX format. | |
pOnCreationRun |
virtual ~KFbxRenamingStrategy | ( | ) | [virtual] |
Destructor.
virtual bool Rename | ( | KName & | pName | ) | [virtual] |
Rename a name if necessary.
pName | The name to be renamed. |
true
on success, false
otherwise.Implements KRenamingStrategy.
virtual void Clear | ( | ) | [virtual] |
Resets internal state regarding assigned names.
Implements KRenamingStrategy.
virtual KRenamingStrategy* Clone | ( | ) | [virtual] |
Create a dynamic renaming strategy instance of the same type as the child class.
Implements KRenamingStrategy.