FBX C++ API Reference
|
#include <fbxrenamingstrategy.h>
This base class is an abstract implementation of a renaming strategy for avoiding name clashes.
An implementation of a reader (FbxReader) or writer (FbxWriter) class must call a concrete implementation of "FbxRenamingStrategyInterface::Rename()" every time a name is imported or exported to avoid name clashes. Any class deriving from FbxRenamingStrategyInterface must implement FbxRenamingStrategyInterface::Clear(), FbxRenamingStrategyInterface::Rename(), and FbxRenamingStrategyInterface::Clone().
Definition at line 34 of file fbxrenamingstrategy.h.
Public Member Functions | |
FbxRenamingStrategyInterface () | |
Constructor. More... | |
virtual | ~FbxRenamingStrategyInterface () |
Destructor. More... | |
virtual void | Clear ()=0 |
Resets internal state regarding assigned names. More... | |
virtual bool | Rename (FbxNameHandler &pName)=0 |
Rename a name if necessary to avoid name-clash issues. More... | |
virtual FbxRenamingStrategyInterface * | Clone ()=0 |
Create a dynamic renaming strategy instance of the same type as the child class. More... | |
Constructor.
|
virtual |
Destructor.
|
pure virtual |
Resets internal state regarding assigned names.
Implemented in FbxRenamingStrategy, and FbxRenamingStrategyNumber.
|
pure virtual |
Rename a name if necessary to avoid name-clash issues.
pName | The name to be renamed. |
true
on success, false
otherwise. Implemented in FbxRenamingStrategy, and FbxRenamingStrategyNumber.
|
pure virtual |
Create a dynamic renaming strategy instance of the same type as the child class.
Implemented in FbxRenamingStrategy, and FbxRenamingStrategyNumber.