Ark Server API (ASA) - Wiki
|
#include <HashTable.h>
Public Types | |
using | Allocator = InAllocator |
using | ElementAllocatorType |
Public Member Functions | |
THashTable (uint32 InHashSize=1024, uint32 InIndexSize=0) | |
THashTable (const THashTable &Other)=delete | |
THashTable (THashTable &&Other) | |
~THashTable () | |
THashTable & | operator= (const THashTable &Other)=delete |
THashTable & | operator= (THashTable &&Other) |
THashTable & | MoveAssign (THashTable &&Other) |
void | Clear () |
void | Resize (uint32 NewIndexSize) |
const uint32 * | GetNextIndices () 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 |
Private Member Functions | |
FORCEINLINE uint32 | HashAt (uint32 Index) const |
FORCEINLINE uint32 | NextIndexAt (uint32 Index) const |
FORCEINLINE uint32 & | HashAt (uint32 Index) |
FORCEINLINE uint32 & | NextIndexAt (uint32 Index) |
Private Attributes | |
ElementAllocatorType | Hash |
ElementAllocatorType | NextIndex |
uint32 | HashMask |
uint32 | IndexSize |
Definition at line 390 of file HashTable.h.
using THashTable< InAllocator >::Allocator = InAllocator |
Definition at line 393 of file HashTable.h.
using THashTable< InAllocator >::ElementAllocatorType |
Definition at line 395 of file HashTable.h.
|
explicit |
Definition at line 466 of file HashTable.h.
|
delete |
|
inline |
Definition at line 403 of file HashTable.h.
FORCEINLINE THashTable< InAllocator >::~THashTable | ( | ) |
Definition at line 483 of file HashTable.h.
FORCEINLINE void THashTable< InAllocator >::Add | ( | uint16 | Key, |
uint32 | Index ) |
Definition at line 533 of file HashTable.h.
FORCEINLINE void THashTable< InAllocator >::Clear | ( | ) |
Definition at line 500 of file HashTable.h.
|
inline |
Definition at line 450 of file HashTable.h.
FORCEINLINE uint32 THashTable< InAllocator >::First | ( | uint16 | Key | ) | const |
Definition at line 510 of file HashTable.h.
|
inline |
Definition at line 413 of file HashTable.h.
|
inlineprivate |
Definition at line 426 of file HashTable.h.
|
inlineprivate |
Definition at line 424 of file HashTable.h.
FORCEINLINE bool THashTable< InAllocator >::IsValid | ( | uint32 | Index | ) | const |
Definition at line 527 of file HashTable.h.
THashTable< InAllocator > & THashTable< InAllocator >::MoveAssign | ( | THashTable< InAllocator > && | Other | ) |
Definition at line 488 of file HashTable.h.
FORCEINLINE uint32 THashTable< InAllocator >::Next | ( | uint32 | Index | ) | const |
Definition at line 518 of file HashTable.h.
|
inlineprivate |
Definition at line 427 of file HashTable.h.
|
inlineprivate |
Definition at line 425 of file HashTable.h.
|
delete |
|
inline |
Definition at line 407 of file HashTable.h.
|
inline |
Definition at line 546 of file HashTable.h.
void THashTable< InAllocator >::Resize | ( | uint32 | NewIndexSize | ) |
Definition at line 574 of file HashTable.h.
|
inline |
Definition at line 435 of file HashTable.h.
|
private |
Definition at line 429 of file HashTable.h.
|
private |
Definition at line 431 of file HashTable.h.
|
private |
Definition at line 432 of file HashTable.h.
|
private |
Definition at line 430 of file HashTable.h.