#include
<krenamingstrategy.h>

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.
| 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.