UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TStaticCompactHashTable< ElementCount, HashCount > Class Template Reference

#include <CompactHashTable.h>

Public Types

using IndexType = typename TCompactHashTypeLookupBySize< UE::Core::CompactHashTable::GetTypeSize(ElementCount)>::Type
 

Public Member Functions

 TStaticCompactHashTable ()
 
 TStaticCompactHashTable (ENoInit)
 
UE_FORCEINLINE_HINT void Reset ()
 
UE_FORCEINLINE_HINT uint32 GetFirst (uint32 Key) const
 
UE_FORCEINLINE_HINT uint32 GetFirstByIndex (uint32 HashIndex) const
 
uint32 GetNext (uint32 Index, uint32 CurrentCount) const
 
template<typename PredicateType >
uint32 Find (uint32 Key, uint32 CurrentCount, const PredicateType &Predicate) const
 
void Add (uint32 CurrentCount, uint32 Key)
 
UE_FORCEINLINE_HINT void Remove (uint32 Index, uint32 Key, uint32 LastIndex, uint32 OptLastKey)
 

Protected Attributes

IndexType NextIndexData [ElementCount]
 
IndexType HashData [HashCount]
 

Member Typedef Documentation

◆ IndexType

template<uint32 ElementCount, uint32 HashCount = UE::Core::CompactHashTable::GetHashCount(ElementCount)>
using TStaticCompactHashTable< ElementCount, HashCount >::IndexType = typename TCompactHashTypeLookupBySize<UE::Core::CompactHashTable::GetTypeSize(ElementCount)>::Type

Constructor & Destructor Documentation

◆ TStaticCompactHashTable() [1/2]

template<uint32 ElementCount, uint32 HashCount = UE::Core::CompactHashTable::GetHashCount(ElementCount)>
TStaticCompactHashTable< ElementCount, HashCount >::TStaticCompactHashTable ( )
inline

◆ TStaticCompactHashTable() [2/2]

template<uint32 ElementCount, uint32 HashCount = UE::Core::CompactHashTable::GetHashCount(ElementCount)>
TStaticCompactHashTable< ElementCount, HashCount >::TStaticCompactHashTable ( ENoInit  )
inline

Member Function Documentation

◆ Add()

template<uint32 ElementCount, uint32 HashCount = UE::Core::CompactHashTable::GetHashCount(ElementCount)>
void TStaticCompactHashTable< ElementCount, HashCount >::Add ( uint32  CurrentCount,
uint32  Key 
)
inline

◆ Find()

template<uint32 ElementCount, uint32 HashCount = UE::Core::CompactHashTable::GetHashCount(ElementCount)>
template<typename PredicateType >
uint32 TStaticCompactHashTable< ElementCount, HashCount >::Find ( uint32  Key,
uint32  CurrentCount,
const PredicateType Predicate 
) const
inline

◆ GetFirst()

template<uint32 ElementCount, uint32 HashCount = UE::Core::CompactHashTable::GetHashCount(ElementCount)>
UE_FORCEINLINE_HINT uint32 TStaticCompactHashTable< ElementCount, HashCount >::GetFirst ( uint32  Key) const
inline

◆ GetFirstByIndex()

template<uint32 ElementCount, uint32 HashCount = UE::Core::CompactHashTable::GetHashCount(ElementCount)>
UE_FORCEINLINE_HINT uint32 TStaticCompactHashTable< ElementCount, HashCount >::GetFirstByIndex ( uint32  HashIndex) const
inline

◆ GetNext()

template<uint32 ElementCount, uint32 HashCount = UE::Core::CompactHashTable::GetHashCount(ElementCount)>
uint32 TStaticCompactHashTable< ElementCount, HashCount >::GetNext ( uint32  Index,
uint32  CurrentCount 
) const
inline

◆ Remove()

template<uint32 ElementCount, uint32 HashCount = UE::Core::CompactHashTable::GetHashCount(ElementCount)>
UE_FORCEINLINE_HINT void TStaticCompactHashTable< ElementCount, HashCount >::Remove ( uint32  Index,
uint32  Key,
uint32  LastIndex,
uint32  OptLastKey 
)
inline

◆ Reset()

template<uint32 ElementCount, uint32 HashCount = UE::Core::CompactHashTable::GetHashCount(ElementCount)>
UE_FORCEINLINE_HINT void TStaticCompactHashTable< ElementCount, HashCount >::Reset ( )
inline

Member Data Documentation

◆ HashData

template<uint32 ElementCount, uint32 HashCount = UE::Core::CompactHashTable::GetHashCount(ElementCount)>
IndexType TStaticCompactHashTable< ElementCount, HashCount >::HashData[HashCount]
protected

◆ NextIndexData

template<uint32 ElementCount, uint32 HashCount = UE::Core::CompactHashTable::GetHashCount(ElementCount)>
IndexType TStaticCompactHashTable< ElementCount, HashCount >::NextIndexData[ElementCount]
protected

The documentation for this class was generated from the following file: