Navigation
API > API/Runtime > API/Runtime/Core
A default implementation of the KeyFuncs used by TSet which uses the element as a key.
| Name | DefaultKeyFuncs |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/SetUtilities.h |
| Include Path | #include "Containers/SetUtilities.h" |
Syntax
template<typename ElementType, bool bInAllowDuplicateKeys>
struct DefaultKeyFuncs : public BaseKeyFuncs< ElementType, ElementType, bInAllowDuplicateKeys >
Inheritance Hierarchy
- BaseKeyFuncs → DefaultKeyFuncs
Derived Classes
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ElementInitType | TCallTraits< ElementType >::ParamType | Containers/SetUtilities.h | |
| KeyInitType | TTypeTraits< ElementType >::ConstPointerType | Containers/SetUtilities.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static uint32 GetKeyHash
(
KeyInitType Key |
Calculates a hash index for a key. | Containers/SetUtilities.h | |
static uint32 GetKeyHash
(
ComparableKey Key |
Calculates a hash index for a key. | Containers/SetUtilities.h | |
static KeyInitType GetSetKey
(
ElementInitType Element |
Containers/SetUtilities.h | ||
static bool Matches
(
KeyInitType A, |
Containers/SetUtilities.h | ||
static bool Matches
(
KeyInitType A, |
Containers/SetUtilities.h |