UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TWeakObjectPtrSetKeyFuncs< ElementType, bInAllowDuplicateKeys > Struct Template Reference

#include <WeakObjectPtrTemplates.h>

+ Inheritance diagram for TWeakObjectPtrSetKeyFuncs< ElementType, bInAllowDuplicateKeys >:

Public Types

typedef DefaultKeyFuncs< ElementType, bInAllowDuplicateKeys >::KeyInitType KeyInitType
 
- Public Types inherited from DefaultKeyFuncs< ElementType, bInAllowDuplicateKeys >
typedef TTypeTraits< ElementType >::ConstPointerType KeyInitType
 
typedef TCallTraits< ElementType >::ParamType ElementInitType
 
- Public Types inherited from BaseKeyFuncs< ElementType, ElementType, bInAllowDuplicateKeys >
enum  
 
typedef ElementType KeyType
 
typedef TCallTraits< ElementType >::ParamType KeyInitType
 
typedef TCallTraits< ElementType >::ParamType ElementInitType
 

Static Public Member Functions

static FORCEINLINE bool Matches (KeyInitType A, KeyInitType B)
 
static FORCEINLINE uint32 GetKeyHash (KeyInitType Key)
 
- Static Public Member Functions inherited from DefaultKeyFuncs< ElementType, bInAllowDuplicateKeys >
static UE_FORCEINLINE_HINT KeyInitType GetSetKey (ElementInitType Element)
 
static UE_FORCEINLINE_HINT bool Matches (KeyInitType A, KeyInitType B)
 
template<typename ComparableKey >
static UE_FORCEINLINE_HINT bool Matches (KeyInitType A, ComparableKey B)
 
static UE_FORCEINLINE_HINT uint32 GetKeyHash (KeyInitType Key)
 
template<typename ComparableKey >
static UE_FORCEINLINE_HINT uint32 GetKeyHash (ComparableKey Key)
 

Detailed Description

template<typename ElementType, bool bInAllowDuplicateKeys = false>
struct TWeakObjectPtrSetKeyFuncs< ElementType, bInAllowDuplicateKeys >

SetKeyFuncs for TWeakObjectPtrs which allow the key to become stale without invalidating the set.

Member Typedef Documentation

◆ KeyInitType

template<typename ElementType , bool bInAllowDuplicateKeys = false>
typedef DefaultKeyFuncs<ElementType,bInAllowDuplicateKeys>::KeyInitType TWeakObjectPtrSetKeyFuncs< ElementType, bInAllowDuplicateKeys >::KeyInitType

Member Function Documentation

◆ GetKeyHash()

template<typename ElementType , bool bInAllowDuplicateKeys = false>
static FORCEINLINE uint32 TWeakObjectPtrSetKeyFuncs< ElementType, bInAllowDuplicateKeys >::GetKeyHash ( KeyInitType  Key)
inlinestatic

◆ Matches()

template<typename ElementType , bool bInAllowDuplicateKeys = false>
static FORCEINLINE bool TWeakObjectPtrSetKeyFuncs< ElementType, bInAllowDuplicateKeys >::Matches ( KeyInitType  A,
KeyInitType  B 
)
inlinestatic

The documentation for this struct was generated from the following file: