Navigation
API > API/Runtime > API/Runtime/Core
| Name | FHashTable |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/HashTable.h |
| Include Path | #include "Containers/HashTable.h" |
Syntax
class FHashTable
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FHashTable
(
uint32 InHashSize, |
Containers/HashTable.h | ||
FHashTable
(
FHashTable&& Other |
Containers/HashTable.h | ||
FHashTable
(
const FHashTable& Other |
Containers/HashTable.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FHashTable() |
Containers/HashTable.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| EmptyHash | uint32 | Avoids allocating hash until first add. | Containers/HashTable.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Add
(
uint32 Key, |
Containers/HashTable.h | ||
void Add_Concurrent
(
uint32 Key, |
Safe to call concurrently with other threads calling Add_Concurrent with different values for Index. | Containers/HashTable.h | |
float AverageSearch() |
Average # of compares per search. | Containers/HashTable.h | |
void Clear
(
uint32 InHashSize, |
Containers/HashTable.h | ||
void Clear () |
Containers/HashTable.h | ||
uint32 First
(
uint32 Key |
Functions used to search. | Containers/HashTable.h | |
void Free() |
Containers/HashTable.h | ||
SIZE_T GetAllocatedSize() |
Containers/HashTable.h | ||
uint32 GetHashSize() |
Containers/HashTable.h | ||
uint32 GetIndexSize() |
Containers/HashTable.h | ||
bool IsValid
(
uint32 Index |
Containers/HashTable.h | ||
uint32 Next
(
uint32 Index |
Next in hash chain. | Containers/HashTable.h | |
void Remove
(
uint32 Key, |
Containers/HashTable.h | ||
void Resize
(
uint32 NewIndexSize |
Increases or decreases the size of the index but not the hash lookup. | Containers/HashTable.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FHashTable & operator=
(
const FHashTable& Other |
Containers/HashTable.h | ||
FHashTable & operator=
(
FHashTable&& Other |
Containers/HashTable.h |