Navigation
API > API/Runtime > API/Runtime/DatasmithCore
Name provider with internal cache implemented with a simple TSet
| Name | FDatasmithUniqueNameProvider |
| Type | class |
| Header File | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/DatasmithUtils.h |
| Include Path | #include "DatasmithUtils.h" |
Syntax
class FDatasmithUniqueNameProvider : public FDatasmithUniqueNameProviderBase
Inheritance Hierarchy
- FDatasmithUniqueNameProviderBase → FDatasmithUniqueNameProvider
Derived Classes
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | FDatasmithUniqueNameProviderBase | DatasmithUtils.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| KnownNames | TSet< FString > | DatasmithUtils.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Reserve
(
int32 NumberOfName |
DatasmithUtils.h |
Overridden from FDatasmithUniqueNameProviderBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddExistingName
(
const FString& Name |
Register a name as known | DatasmithUtils.h | |
virtual void Clear() |
Flushes all known names | DatasmithUtils.h | |
virtual void RemoveExistingName
(
const FString& Name |
Remove a name from the list of existing name | DatasmithUtils.h |
Protected
Overridden from FDatasmithUniqueNameProviderBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Contains
(
const FString& Name |
Check if the given name is already registered | DatasmithUtils.h |