Navigation
API > API/Runtime > API/Runtime/Core
| Name | THashTable |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/HashTable.h |
| Include Path | #include "Containers/HashTable.h" |
Syntax
template<typename InAllocator>
class THashTable
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
THashTable
(
THashTable&& Other |
Containers/HashTable.h | ||
THashTable
(
const THashTable& Other |
Containers/HashTable.h | ||
THashTable
(
uint32 InHashSize, |
Containers/HashTable.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~THashTable() |
Containers/HashTable.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Allocator | InAllocator | Containers/HashTable.h | |
| ElementAllocatorType | std::conditional_t< Allocator::NeedsElementType, typename Allocator::template ForElementType< uint32 >, typename Allocator::ForAnyElementType > | Containers/HashTable.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Hash | ElementAllocatorType | Containers/HashTable.h | ||
| HashMask | uint32 | Containers/HashTable.h | ||
| IndexSize | uint32 | Containers/HashTable.h | ||
| NextIndex | ElementAllocatorType | Containers/HashTable.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Add
(
uint16 Key, |
Containers/HashTable.h | ||
void Clear() |
Containers/HashTable.h | ||
void CopyUnfrozen
(
const FMemoryUnfreezeContent& Context, |
Containers/HashTable.h | ||
uint32 First
(
uint16 Key |
Functions used to search. | Containers/HashTable.h | |
const uint32 * GetNextIndices() |
Containers/HashTable.h | ||
bool IsValid
(
uint32 Index |
Containers/HashTable.h | ||
THashTable & MoveAssign
(
THashTable&& Other |
Containers/HashTable.h | ||
uint32 Next
(
uint32 Index |
Next in hash chain. | Containers/HashTable.h | |
void Remove
(
uint16 Key, |
Containers/HashTable.h | ||
void Resize
(
uint32 NewIndexSize |
Containers/HashTable.h | ||
void WriteMemoryImage
(
FMemoryImageWriter& Writer |
Containers/HashTable.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
THashTable & operator=
(
THashTable&& Other |
Containers/HashTable.h | ||
THashTable & operator=
(
const THashTable& Other |
Containers/HashTable.h |