Navigation
API > API/Runtime > API/Runtime/Core
MapKeyFuncs for TWeakObjectPtrs which allow the key to become stale without invalidating the map.
| Name | TWeakObjectPtrMapKeyFuncs |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/UObject/WeakObjectPtrTemplates.h |
| Include Path | #include "UObject/WeakObjectPtrTemplates.h" |
Syntax
template<typename KeyType, typename ValueType, bool bInAllowDuplicateKeys>
struct TWeakObjectPtrMapKeyFuncs : public TDefaultMapKeyFuncs< KeyType, ValueType, false >
Inheritance Hierarchy
- BaseKeyFuncs → TDefaultMapKeyFuncs → TWeakObjectPtrMapKeyFuncs
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| KeyInitType | TDefaultMapKeyFuncs< KeyType, ValueType, bInAllowDuplicateKeys >::KeyInitType | UObject/WeakObjectPtrTemplates.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static uint32 GetKeyHash
(
KeyInitType Key |
UObject/WeakObjectPtrTemplates.h | ||
static bool Matches
(
KeyInitType A, |
UObject/WeakObjectPtrTemplates.h |