Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TStaticHashTable< HashSize, IndexSize > Class Template Reference

#include <HashTable.h>

Public Member Functions

 TStaticHashTable ()
 
 TStaticHashTable (ENoInit)
 
void Clear ()
 
uint16 First (uint16 Key) const
 
uint16 Next (uint16 Index) const
 
bool IsValid (uint16 Index) const
 
void Add (uint16 Key, uint16 Index)
 
void Remove (uint16 Key, uint16 Index)
 

Protected Attributes

uint16 Hash [HashSize]
 
uint16 NextIndex [IndexSize]
 

Detailed Description

template<uint16 HashSize, uint16 IndexSize>
class TStaticHashTable< HashSize, IndexSize >

Definition at line 79 of file HashTable.h.

Constructor & Destructor Documentation

◆ TStaticHashTable() [1/2]

template<uint16 HashSize, uint16 IndexSize>
FORCEINLINE TStaticHashTable< HashSize, IndexSize >::TStaticHashTable ( )

Definition at line 102 of file HashTable.h.

◆ TStaticHashTable() [2/2]

template<uint16 HashSize, uint16 IndexSize>
FORCEINLINE TStaticHashTable< HashSize, IndexSize >::TStaticHashTable ( ENoInit )

Definition at line 110 of file HashTable.h.

Member Function Documentation

◆ Add()

template<uint16 HashSize, uint16 IndexSize>
FORCEINLINE void TStaticHashTable< HashSize, IndexSize >::Add ( uint16 Key,
uint16 Index )

Definition at line 145 of file HashTable.h.

◆ Clear()

template<uint16 HashSize, uint16 IndexSize>
FORCEINLINE void TStaticHashTable< HashSize, IndexSize >::Clear ( )

Definition at line 117 of file HashTable.h.

◆ First()

template<uint16 HashSize, uint16 IndexSize>
FORCEINLINE uint16 TStaticHashTable< HashSize, IndexSize >::First ( uint16 Key) const

Definition at line 124 of file HashTable.h.

◆ IsValid()

template<uint16 HashSize, uint16 IndexSize>
FORCEINLINE bool TStaticHashTable< HashSize, IndexSize >::IsValid ( uint16 Index) const

Definition at line 139 of file HashTable.h.

◆ Next()

template<uint16 HashSize, uint16 IndexSize>
FORCEINLINE uint16 TStaticHashTable< HashSize, IndexSize >::Next ( uint16 Index) const

Definition at line 132 of file HashTable.h.

◆ Remove()

template<uint16 HashSize, uint16 IndexSize>
void TStaticHashTable< HashSize, IndexSize >::Remove ( uint16 Key,
uint16 Index )
inline

Definition at line 155 of file HashTable.h.

Member Data Documentation

◆ Hash

template<uint16 HashSize, uint16 IndexSize>
uint16 TStaticHashTable< HashSize, IndexSize >::Hash[HashSize]
protected

Definition at line 97 of file HashTable.h.

◆ NextIndex

template<uint16 HashSize, uint16 IndexSize>
uint16 TStaticHashTable< HashSize, IndexSize >::NextIndex[IndexSize]
protected

Definition at line 98 of file HashTable.h.


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