UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
THashTable< InAllocator > Class Template Reference

#include <HashTable.h>

Public Types

using Allocator = InAllocator
 
using ElementAllocatorType = std::conditional_t< Allocator::NeedsElementType, typename Allocator::template ForElementType< uint32 >, typename Allocator::ForAnyElementType >
 

Public Member Functions

 THashTable (uint32 InHashSize=1024, uint32 InIndexSize=0)
 
 THashTable (const THashTable &Other)=delete
 
 THashTable (THashTable &&Other)
 
 ~THashTable ()
 
THashTableoperator= (const THashTable &Other)=delete
 
THashTableoperator= (THashTable &&Other)
 
THashTableMoveAssign (THashTable &&Other)
 
void Clear ()
 
void Resize (uint32 NewIndexSize)
 
const uint32GetNextIndices () const
 
uint32 First (uint16 Key) const
 
uint32 Next (uint32 Index) const
 
bool IsValid (uint32 Index) const
 
void Add (uint16 Key, uint32 Index)
 
void Remove (uint16 Key, uint32 Index)
 
void WriteMemoryImage (FMemoryImageWriter &Writer) const
 
void CopyUnfrozen (const FMemoryUnfreezeContent &Context, void *Dst) const
 

Member Typedef Documentation

◆ Allocator

template<typename InAllocator >
using THashTable< InAllocator >::Allocator = InAllocator

◆ ElementAllocatorType

template<typename InAllocator >
using THashTable< InAllocator >::ElementAllocatorType = std::conditional_t< Allocator::NeedsElementType, typename Allocator::template ForElementType<uint32>, typename Allocator::ForAnyElementType >

Constructor & Destructor Documentation

◆ THashTable() [1/3]

template<typename InAllocator >
THashTable< InAllocator >::THashTable ( uint32  InHashSize = 1024,
uint32  InIndexSize = 0 
)
inlineexplicit

◆ THashTable() [2/3]

template<typename InAllocator >
THashTable< InAllocator >::THashTable ( const THashTable< InAllocator > &  Other)
delete

◆ THashTable() [3/3]

◆ ~THashTable()

Member Function Documentation

◆ Add()

template<typename InAllocator >
void THashTable< InAllocator >::Add ( uint16  Key,
uint32  Index 
)
inline

◆ Clear()

template<typename InAllocator >
void THashTable< InAllocator >::Clear ( )
inline

◆ CopyUnfrozen()

template<typename InAllocator >
void THashTable< InAllocator >::CopyUnfrozen ( const FMemoryUnfreezeContent Context,
void Dst 
) const
inline

◆ First()

template<typename InAllocator >
uint32 THashTable< InAllocator >::First ( uint16  Key) const
inline

◆ GetNextIndices()

template<typename InAllocator >
const uint32 * THashTable< InAllocator >::GetNextIndices ( ) const
inline

◆ IsValid()

template<typename InAllocator >
UE_FORCEINLINE_HINT bool THashTable< InAllocator >::IsValid ( uint32  Index) const

◆ MoveAssign()

template<typename InAllocator >
THashTable< InAllocator > & THashTable< InAllocator >::MoveAssign ( THashTable< InAllocator > &&  Other)

◆ Next()

template<typename InAllocator >
uint32 THashTable< InAllocator >::Next ( uint32  Index) const
inline

◆ operator=() [1/2]

template<typename InAllocator >
THashTable & THashTable< InAllocator >::operator= ( const THashTable< InAllocator > &  Other)
delete

◆ operator=() [2/2]

template<typename InAllocator >
THashTable & THashTable< InAllocator >::operator= ( THashTable< InAllocator > &&  Other)
inline

◆ Remove()

template<typename InAllocator >
void THashTable< InAllocator >::Remove ( uint16  Key,
uint32  Index 
)
inline

◆ Resize()

template<typename InAllocator >
void THashTable< InAllocator >::Resize ( uint32  NewIndexSize)

◆ WriteMemoryImage()

template<typename InAllocator >
void THashTable< InAllocator >::WriteMemoryImage ( FMemoryImageWriter Writer) const
inline

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