TDefaultMapKeyFuncs

Defines how the map's pairs are hashed.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Core

Header

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

Include

#include "Containers/Map.h"

Syntax

template<typename KeyType, typename ValueType, bool bInAllowDuplicateKeys>
struct TDefaultMapKeyFuncs : public BaseKeyFuncs< TPair< KeyType, ValueType >, KeyType, bInAllowDuplicateKeys >

Remarks

Defines how the map's pairs are hashed.

Functions

Name Description

Public function Static

uint32

 

GetKeyHash

(
    KeyInitType Key
)

Public function Static

uint32

 

GetKeyHash

(
    ComparableKey Key
)

Public function Static

KeyInitType

 

GetSetKey

(
    ElementInitType Element
)

Public function Static

bool

 

Matches

(
    KeyInitType A,
    KeyInitType B
)

Public function Static

bool

 

Matches

(
    KeyInitType A,
    ComparableKey B
)

Typedefs

Name

Description

ElementInitType

KeyInitType