Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UEnum
| Name | FNameData |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include Path | #include "UObject/Class.h" |
Syntax
class FNameData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| UObject/Class.h | |||
| UObject/Class.h | |||
constexpr FNameData () |
UObject/Class.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FNameData() |
UObject/Class.h |
Structs
| Name | Remarks |
|---|---|
| FIterator | |
| FIteratorEnd | Read-only ranged-for support. |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| MaskPointer | UPTRINT | Mask to retrieve a readable pointer from the tagged pointer regardless of whether it is static or dynamic. | UObject/Class.h |
| TagDynamic | UPTRINT | Tag bit to show wehther a pointer is dynamically allocated, or points to a static allocation. | UObject/Class.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| TaggedNames | UPTRINT | Tagged FName* pointer, noting whether array is dynamically allocated. | UObject/Class.h | |
| TaggedValues | UPTRINT | Tagged int64* pointer noting whether array is dynamically allocated. | UObject/Class.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FNameData | union UEnum::FNameData | UObject/Class.h | ||
| FNameData | union UEnum::FNameData | UObject/Class.h | ||
| NumValues | int32 | Both arrays contain same number of values. | UObject/Class.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FIterator begin() |
UObject/Class.h | ||
void DiscardPlaceholder() |
UObject/Class.h | ||
void Empty() |
Deallocate arrays - ConstInit objects should not delete the values as they are a static array created by UHT. | UObject/Class.h | |
FIteratorEnd end() |
UObject/Class.h | ||
TArrayView< FName > GetMutableNames() |
Get a mutable view over the names. | UObject/Class.h | |
TConstArrayView< FName > GetNames() |
Get an immutable view over the names. | UObject/Class.h | |
TConstArrayView< int64 > GetValues() |
Get an immutable view over the values. | UObject/Class.h | |
void Initialize
(
const TArray< TPair< FName, int64 > >& InNames |
Initialize from names and int64 values. | UObject/Class.h | |
void Initialize
(
const TArray< TPair< FName, uint8 > >& InNames |
Initialize from legacy serialization of names with byte values. | UObject/Class.h | |
void Initialize
(
const TArray< FName >& InNames |
Initialize from legacy serialization of names without values. | UObject/Class.h | |
| Initialize from names and int64 values with a placeholder to generate a max element. | UObject/Class.h | ||
bool IsValidIndex
(
int32 Index |
UObject/Class.h | ||
void MakeValuesSequentialFromZero() |
If necessary, replace values with sequential values counting up from zero. | UObject/Class.h | |
int32 Num() |
UObject/Class.h | ||
void UsePlaceholder
(
FName InName, |
UObject/Class.h |