5#include "Containers/Array.h"
24 static constexpr uint32 IndexBits = 30u;
25 static constexpr uint32 IndexMask = (1u << IndexBits) - 1u;
27 static constexpr uint32 TypeShift = IndexBits;
69 return Index != InvalidIndex && Number != InvalidIndex;
84 return Index & IndexMask;
110 uint32 Number = InvalidIndex;
121 return NameEntries.
Num();
#define check(expr)
Definition AssertionMacros.h:314
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
FORCEINLINE FMinimalName NameToMinimalName(FName InName)
Definition NameTypes.h:1602
FORCEINLINE FName MinimalNameToName(FMinimalName InName)
Definition NameTypes.h:1592
Definition Archive.h:1208
Definition MappedName.h:22
bool operator!=(FMappedName Other) const
Definition MappedName.h:92
static FMappedName FromMinimalName(const FMinimalName &MinimalName)
Definition MappedName.h:45
static bool IsResolvedToMinimalName(const FMinimalName &MinimalName)
Definition MappedName.h:50
FMinimalName ToUnresolvedMinimalName() const
Definition MappedName.h:62
static FName SafeMinimalNameToName(const FMinimalName &MinimalName)
Definition MappedName.h:57
FName ResolveName(TConstArrayView< FDisplayNameEntryId > Names) const
Definition MappedName.h:97
EType
Definition MappedName.h:31
bool IsGlobal() const
Definition MappedName.h:77
EType GetType() const
Definition MappedName.h:72
CORE_API friend FArchive & operator<<(FArchive &Ar, FMappedName &MappedName)
Definition MappedName.cpp:8
bool IsValid() const
Definition MappedName.h:67
uint32 GetNumber() const
Definition MappedName.h:87
static FMappedName Create(const uint32 InIndex, const uint32 InNumber, EType InType)
Definition MappedName.h:39
uint32 GetIndex() const
Definition MappedName.h:82
Definition MappedName.h:117
RangedForConstIteratorType end() const
Definition MappedName.h:157
FMinimalName GetMinimalName(const FMappedName &MappedName) const
Definition MappedName.h:149
FName GetName(const FMappedName &MappedName) const
Definition MappedName.h:126
RangedForConstIteratorType begin() const
Definition MappedName.h:156
int32 Num() const
Definition MappedName.h:119
bool TryGetName(const FMappedName &MappedName, FName &OutName) const
Definition MappedName.h:134
TArray< FDisplayNameEntryId >::RangedForConstIteratorType RangedForConstIteratorType
Definition MappedName.h:155
Definition NameTypes.h:617
UE_REWRITE SizeType Num() const
Definition Array.h:1144
UE_NODEBUG UE_FORCEINLINE_HINT RangedForIteratorType end()
Definition Array.h:3391
UE_NODEBUG UE_FORCEINLINE_HINT RangedForIteratorType begin()
Definition Array.h:3389
U16 Index
Definition radfft.cpp:71
Definition NameTypes.h:439