Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers
Inheritance Hierarchy
- FHashTable
- FSQHashTable
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/HashTable.h |
| Include | #include "Containers/HashTable.h" |
Syntax
class FHashTable
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32 * | Hash | ||
| uint32 | HashMask | ||
| uint32 | HashSize | ||
| uint32 | IndexSize | ||
| uint32 * | NextIndex |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FHashTable
(
const FHashTable& Other |
|||
FHashTable
(
FHashTable&& Other |
|||
FHashTable
(
uint32 InHashSize, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FHashTable () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | Add_Concurrent
(
uint32 Key, |
Safe to call concurrently with other threads calling Add_Concurrent with different values for Index. | |
| float | Average # of compares per search. | ||
| void | |||
| void | Clear () |
||
| uint32 | Functions used to search. | ||
| void | Free () |
||
| SIZE_T | |||
| uint32 | GetHashSize () |
||
| uint32 | GetIndexSize () |
||
| bool | |||
| uint32 | Next in hash chain. | ||
| void | |||
| void | Increases or decreases the size of the index but not the hash lookup. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FHashTable & | operator=
(
const FHashTable& Other |
||
| FHashTable & | operator=
(
FHashTable&& Other |
Constants
| Name | Description |
|---|---|
| EmptyHash | Avoids allocating hash until first add. |