#include<krenamingstrategy.h>
Base class describing how the renaming process is handled. This class is intented to be derived into a specialised renaming class.
Basicaly, the Rename is called everytime a new element is added to an entity. the strategy keep
Definition at line56of filekrenamingstrategy.h.
Public Member Functions | |
KRenamingStrategy() | |
Constructor. | |
virtual | ~KRenamingStrategy() |
Destructor. | |
virtual void | Clear()=0 |
Empty all memories about given names. | |
virtual bool | Rename(KName&pName)=0 |
Rename. | |
virtualKRenamingStrategy* | Clone()=0 |
Spawn mechanism. |
Constructor.
virtual ~KRenamingStrategy | ( | ) | [virtual] |
Destructor.
virtual void Clear | ( | ) | [pure virtual] |
Empty all memories about given names.
Implemented inKNumberRenamingStrategy, andKFbxRenamingStrategy.
virtual bool Rename | ( | KName& | pName | ) | [pure virtual] |
Rename.
pName |
Implemented inKNumberRenamingStrategy, andKFbxRenamingStrategy.
virtualKRenamingStrategy* Clone | ( | ) | [pure virtual] |
Spawn mechanism.
Create a dynamic renaming strategy instance of the same type the child class.
Implemented inKNumberRenamingStrategy, andKFbxRenamingStrategy.