Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FHashTable Class Reference

#include <HashTable.h>

Public Member Functions

 FHashTable (uint32 InHashSize=1024, uint32 InIndexSize=0)
 
 FHashTable (const FHashTable &Other)
 
 ~FHashTable ()
 
void Clear ()
 
void Clear (uint32 InHashSize, uint32 InIndexSize=0)
 
void Free ()
 
void Resize (uint32 NewIndexSize)
 
uint32 First (uint32 Key) const
 
uint32 Next (uint32 Index) const
 
bool IsValid (uint32 Index) const
 
void Add (uint32 Key, uint32 Index)
 
void Add_Concurrent (uint32 Key, uint32 Index)
 
void Remove (uint32 Key, uint32 Index)
 
float AverageSearch () const
 

Protected Attributes

uint32 HashSize
 
uint32 HashMask
 
uint32 IndexSize
 
uint32 * Hash
 
uint32 * NextIndex
 

Static Protected Attributes

static uint32 EmptyHash [1]
 

Detailed Description

Definition at line 195 of file HashTable.h.

Constructor & Destructor Documentation

◆ FHashTable() [1/2]

FORCEINLINE FHashTable::FHashTable ( uint32 InHashSize = 1024,
uint32 InIndexSize = 0 )

Definition at line 232 of file HashTable.h.

+ Here is the call graph for this function:

◆ FHashTable() [2/2]

FORCEINLINE FHashTable::FHashTable ( const FHashTable & Other)

Definition at line 253 of file HashTable.h.

+ Here is the call graph for this function:

◆ ~FHashTable()

FORCEINLINE FHashTable::~FHashTable ( )

Definition at line 269 of file HashTable.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ Add()

FORCEINLINE void FHashTable::Add ( uint32 Key,
uint32 Index )

Definition at line 338 of file HashTable.h.

◆ Add_Concurrent()

FORCEINLINE void FHashTable::Add_Concurrent ( uint32 Key,
uint32 Index )

Definition at line 353 of file HashTable.h.

◆ AverageSearch()

float FHashTable::AverageSearch ( ) const

◆ Clear() [1/2]

FORCEINLINE void FHashTable::Clear ( )

Definition at line 274 of file HashTable.h.

+ Here is the call graph for this function:

◆ Clear() [2/2]

FORCEINLINE void FHashTable::Clear ( uint32 InHashSize,
uint32 InIndexSize = 0 )

Definition at line 282 of file HashTable.h.

+ Here is the call graph for this function:

◆ First()

FORCEINLINE uint32 FHashTable::First ( uint32 Key) const

Definition at line 319 of file HashTable.h.

◆ Free()

FORCEINLINE void FHashTable::Free ( )

Definition at line 303 of file HashTable.h.

+ Here is the caller graph for this function:

◆ IsValid()

FORCEINLINE bool FHashTable::IsValid ( uint32 Index) const

Definition at line 333 of file HashTable.h.

+ Here is the caller graph for this function:

◆ Next()

FORCEINLINE uint32 FHashTable::Next ( uint32 Index) const

Definition at line 326 of file HashTable.h.

◆ Remove()

void FHashTable::Remove ( uint32 Key,
uint32 Index )
inline

Definition at line 361 of file HashTable.h.

+ Here is the call graph for this function:

◆ Resize()

void FHashTable::Resize ( uint32 NewIndexSize)

Member Data Documentation

◆ EmptyHash

uint32 FHashTable::EmptyHash[1]
staticprotected

Definition at line 221 of file HashTable.h.

◆ Hash

uint32* FHashTable::Hash
protected

Definition at line 227 of file HashTable.h.

◆ HashMask

uint32 FHashTable::HashMask
protected

Definition at line 224 of file HashTable.h.

◆ HashSize

uint32 FHashTable::HashSize
protected

Definition at line 223 of file HashTable.h.

◆ IndexSize

uint32 FHashTable::IndexSize
protected

Definition at line 225 of file HashTable.h.

◆ NextIndex

uint32* FHashTable::NextIndex
protected

Definition at line 228 of file HashTable.h.


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