This reference page is linked to from the following overview topics: List of Python FBX classes.
Implements a renaming strategy that resolves name clashes by adding number postfixes.
For example, when there are three objects with the same names "MyObject", and they will be renamed to "MyObject", "MyObject1" and "MyObject2".
Definition at line 86 of file krenamingstrategy.h.
#include <krenamingstrategy.h>
Classes |
|
struct | NameCell |
Public Member Functions |
|
KNumberRenamingStrategy () | |
Constructor. |
|
virtual | ~KNumberRenamingStrategy () |
Destructor. |
|
virtual void | Clear () |
Resets internal state regarding assigned
names. |
|
virtual bool | Rename (KName &pName) |
Rename a name if necessary to avoid
name-clash issues. |
|
virtual KRenamingStrategy * | Clone () |
Create a dynamic renaming strategy instance
of the same type as the child class. |
Constructor.
virtual ~KNumberRenamingStrategy | ( | ) | [virtual] |
Destructor.
virtual void Clear | ( | ) | [virtual] |
Resets internal state regarding assigned names.
Implements KRenamingStrategy.
virtual bool Rename | ( | KName & | pName | ) | [virtual] |
Rename a name if necessary to avoid name-clash issues.
pName | The name to be renamed. |
true
on success, false
otherwise.Implements KRenamingStrategy.
virtual KRenamingStrategy* Clone | ( | ) | [virtual] |
Create a dynamic renaming strategy instance of the same type as the child class.
Implements KRenamingStrategy.