UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Core::CompactHashTable Namespace Reference

Namespaces

namespace  Private
 

Functions

UE_FORCEINLINE_HINT constexpr uint32 GetTypeSize (uint32 IndexCount)
 
UE_FORCEINLINE_HINT constexpr uint32 GetTypeShift (uint32 IndexCount)
 
UE_FORCEINLINE_HINT constexpr size_t GetMemoryRequiredInBytes (uint32 IndexCount, uint32 HashCount)
 
UE_FORCEINLINE_HINT constexpr size_t GetMemoryAlignment ()
 
constexpr size_t GetHashCount (uint32 NumElements)
 
template<typename IndexType >
uint32 GetFirst (uint32 Key, const IndexType *HashData, const uint32 HashCount)
 
template<typename IndexType >
uint32 GetFirstByIndex (uint32 HashIndex, const IndexType *HashData, const uint32 HashCount)
 
template<typename IndexType >
uint32 GetNext (uint32 Index, const IndexType *NextIndexData, const uint32 NextIndexCount)
 
template<typename IndexType , typename PredicateType >
uint32 Find (uint32 Key, const IndexType *HashData, const uint32 HashCount, const IndexType *NextIndexData, const uint32 NextIndexCount, const PredicateType &Predicate)
 
template<typename IndexType >
void Add (uint32 Index, uint32 Key, IndexType *HashData, const uint32 HashCount, IndexType *NextIndexData, const uint32 NextIndexCount)
 
template<typename IndexType >
void Remove (const uint32 Index, const uint32 Key, const uint32 LastIndex, uint32 OptLastKey, IndexType *HashData, const uint32 HashCount, IndexType *NextIndexData, const uint32 NextIndexCount)
 
template<typename IndexType >
void RemoveStable (const uint32 Index, const uint32 Key, IndexType *HashData, const uint32 HashCount, IndexType *NextIndexData, const uint32 NextIndexCount)
 

Function Documentation

◆ Add()

template<typename IndexType >
void UE::Core::CompactHashTable::Add ( uint32  Index,
uint32  Key,
IndexType *  HashData,
const uint32  HashCount,
IndexType *  NextIndexData,
const uint32  NextIndexCount 
)
inline

◆ Find()

template<typename IndexType , typename PredicateType >
uint32 UE::Core::CompactHashTable::Find ( uint32  Key,
const IndexType *  HashData,
const uint32  HashCount,
const IndexType *  NextIndexData,
const uint32  NextIndexCount,
const PredicateType Predicate 
)
inline

◆ GetFirst()

template<typename IndexType >
uint32 UE::Core::CompactHashTable::GetFirst ( uint32  Key,
const IndexType *  HashData,
const uint32  HashCount 
)
inline

◆ GetFirstByIndex()

template<typename IndexType >
uint32 UE::Core::CompactHashTable::GetFirstByIndex ( uint32  HashIndex,
const IndexType *  HashData,
const uint32  HashCount 
)
inline

◆ GetHashCount()

constexpr size_t UE::Core::CompactHashTable::GetHashCount ( uint32  NumElements)
inlineconstexpr

◆ GetMemoryAlignment()

UE_FORCEINLINE_HINT constexpr size_t UE::Core::CompactHashTable::GetMemoryAlignment ( )
constexpr

◆ GetMemoryRequiredInBytes()

UE_FORCEINLINE_HINT constexpr size_t UE::Core::CompactHashTable::GetMemoryRequiredInBytes ( uint32  IndexCount,
uint32  HashCount 
)
constexpr

◆ GetNext()

template<typename IndexType >
uint32 UE::Core::CompactHashTable::GetNext ( uint32  Index,
const IndexType *  NextIndexData,
const uint32  NextIndexCount 
)
inline

◆ GetTypeShift()

UE_FORCEINLINE_HINT constexpr uint32 UE::Core::CompactHashTable::GetTypeShift ( uint32  IndexCount)
constexpr

◆ GetTypeSize()

UE_FORCEINLINE_HINT constexpr uint32 UE::Core::CompactHashTable::GetTypeSize ( uint32  IndexCount)
constexpr

◆ Remove()

template<typename IndexType >
void UE::Core::CompactHashTable::Remove ( const uint32  Index,
const uint32  Key,
const uint32  LastIndex,
uint32  OptLastKey,
IndexType *  HashData,
const uint32  HashCount,
IndexType *  NextIndexData,
const uint32  NextIndexCount 
)
inline

◆ RemoveStable()

template<typename IndexType >
void UE::Core::CompactHashTable::RemoveStable ( const uint32  Index,
const uint32  Key,
IndexType *  HashData,
const uint32  HashCount,
IndexType *  NextIndexData,
const uint32  NextIndexCount 
)
inline