THashTable

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/HashTable.h

Include

#include "Containers/HashTable.h"

Syntax

template<typename InAllocator>
class THashTable

Constructors

Name Description

Public function

THashTable

(
    const THashTable& Other
)

Public function

THashTable

(
    THashTable&& Other
)

Public function

THashTable

(
    uint32 InHashSize,
    uint32 InIndexSize
)

Destructors

Name Description

Public function

~THashTable()

Functions

Name Description

Public function

void

 

Add

(
    uint16 Key,
    uint32 Index
)

Public function

void

 

Clear()

Public function Const

void

 

CopyUnfrozen

(
    const FMemoryUnfreezeContent& Cont...,
    void* Dst
)

Public function Const

uint32

 

First

(
    uint16 Key
)

Functions used to search.

Public function Const

const uint32...

 

GetNextIndices()

Public function Const

bool

 

IsValid

(
    uint32 Index
)

Public function

THashTable &

 

MoveAssign

(
    THashTable&& Other
)

Public function Const

uint32

 

Next

(
    uint32 Index
)

Next in hash chain.

Public function

void

 

Remove

(
    uint16 Key,
    uint32 Index
)

Public function

void

 

Resize

(
    uint32 NewIndexSize
)

Public function Const

void

 

WriteMemoryImage

(
    FMemoryImageWriter& Writer
)

Operators

Name Description

Public function

THashTable &

 

operator=

(
    const THashTable& Other
)

Public function

THashTable &

 

operator=

(
    THashTable&& Other
)

Typedefs

Name

Description

Allocator

ElementAllocatorType