Based on a table of frequently used names, this class generates unique names with a good complexity when the number of name is important. 更多...
#include <DatasmithUtils.h>
类 FDatasmithUniqueNameProviderBase 继承关系图:Public 成员函数 | |
| virtual void | AddExistingName (const FString &Name)=0 |
| Register a name as known 更多... | |
| FString | GenerateUniqueName (const FString &BaseName) |
| Generates a unique name 更多... | |
| virtual void | RemoveExistingName (const FString &Name)=0 |
| Remove a name from the list of existing name 更多... | |
Protected 成员函数 | |
| virtual bool | Contains (const FString &Name)=0 |
| Check if the given name is already registered 更多... | |
Based on a table of frequently used names, this class generates unique names with a good complexity when the number of name is important.
|
pure virtual |
|
protectedpure virtual |
Check if the given name is already registered
| Name | name to test |
在 FDatasmithUniqueNameProvider 内被实现.
Generates a unique name
| BaseName | Name that will be suffixed with an index to be unique |
|
pure virtual |
Remove a name from the list of existing name
| Name | name to unregister |
在 FDatasmithUniqueNameProvider 内被实现.