UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SlateAttributePrivate::TSlateMemberAttribute< InObjectType, InInvalidationReasonPredicate, InComparePredicate > Struct Template Reference
+ Inheritance diagram for SlateAttributePrivate::TSlateMemberAttribute< InObjectType, InInvalidationReasonPredicate, InComparePredicate >:

Public Types

using FGetter = typename Super::FGetter
 
using ObjectType = typename Super::ObjectType
 
- Public Types inherited from SlateAttributePrivate::TSlateAttributeBase< SWidget, InObjectType, InInvalidationReasonPredicate, InComparePredicate, ESlateAttributeType::Member >
using ObjectType = InObjectType
 
using FInvalidationReasonPredicate = InInvalidationReasonPredicate
 
using FGetter = typename TAttribute< ObjectType >::FGetter
 
using FComparePredicate = InComparePredicate
 

Public Member Functions

 TSlateMemberAttribute ()=delete
 
 TSlateMemberAttribute (const TSlateMemberAttribute &)=delete
 
 TSlateMemberAttribute (TSlateMemberAttribute &&)=delete
 
TSlateMemberAttributeoperator= (const TSlateMemberAttribute &)=delete
 
TSlateMemberAttributeoperator= (TSlateMemberAttribute &&)=delete
 
voidoperator new (size_t)=delete
 
voidoperator new[] (size_t)=delete
 
template<typename WidgetType , typename U = typename std::enable_if<std::is_base_of<SWidget, WidgetType>::value>::type>
 TSlateMemberAttribute (WidgetType &Widget)
 
template<typename WidgetType , typename U = typename std::enable_if<std::is_base_of<SWidget, WidgetType>::value>::type>
 TSlateMemberAttribute (WidgetType &Widget, const ObjectType &InValue)
 
template<typename WidgetType , typename U = typename std::enable_if<std::is_base_of<SWidget, WidgetType>::value>::type>
 TSlateMemberAttribute (WidgetType &Widget, ObjectType &&InValue)
 
- Public Member Functions inherited from SlateAttributePrivate::TSlateAttributeBase< SWidget, InObjectType, InInvalidationReasonPredicate, InComparePredicate, ESlateAttributeType::Member >
bool IdenticalTo (const SWidget &Widget, const TSlateAttributeBase &Other) const
 
bool IdenticalTo (const SWidget &Widget, const TAttribute< ObjectType > &Other) const
 
 TSlateAttributeBase ()
 
 TSlateAttributeBase (const ObjectType &InValue)
 
 TSlateAttributeBase (ObjectType &&InValue)
 
 TSlateAttributeBase (SWidget &Widget)
 
 TSlateAttributeBase (SWidget &Widget, const ObjectType &InValue)
 
 TSlateAttributeBase (SWidget &Widget, ObjectType &&InValue)
 
 TSlateAttributeBase (SWidget &Widget, const FGetter &Getter, const ObjectType &InitialValue)
 
 TSlateAttributeBase (SWidget &Widget, const FGetter &Getter, ObjectType &&InitialValue)
 
 TSlateAttributeBase (SWidget &Widget, FGetter &&Getter, const ObjectType &InitialValue)
 
 TSlateAttributeBase (SWidget &Widget, FGetter &&Getter, ObjectType &&InitialValue)
 
 TSlateAttributeBase (SWidget &Widget, const TAttribute< ObjectType > &Attribute, const ObjectType &InitialValue)
 
 TSlateAttributeBase (SWidget &Widget, TAttribute< ObjectType > &&Attribute, ObjectType &&InitialValue)
 
const ObjectTypeGet () const
 
void UpdateNow (SWidget &Widget)
 
bool Set (SWidget &Widget, const ObjectType &NewValue)
 
bool Set (SWidget &Widget, ObjectType &&NewValue)
 
void Bind (SWidget &Widget, const FGetter &Getter)
 
void Bind (SWidget &Widget, FGetter &&Getter)
 
void Bind (WidgetType &Widget, typename FGetter::template TConstMethodPtr< WidgetType > MethodPtr)
 
bool Assign (SWidget &Widget, const TAttribute< ObjectType > &OtherAttribute, ESlateAttributeBindAction Actions=UE_SLATE_WITH_ATTRIBUTE_DEFAULT_INITIALIZATION_ACTION)
 
bool Assign (SWidget &Widget, TAttribute< ObjectType > &&OtherAttribute, ESlateAttributeBindAction Actions=UE_SLATE_WITH_ATTRIBUTE_DEFAULT_INITIALIZATION_ACTION)
 
bool Assign (SWidget &Widget, const TAttribute< ObjectType > &OtherAttribute, const ObjectType &DefaultValue, ESlateAttributeBindAction Actions=UE_SLATE_WITH_ATTRIBUTE_DEFAULT_INITIALIZATION_ACTION)
 
bool Assign (SWidget &Widget, TAttribute< ObjectType > &&OtherAttribute, const ObjectType &DefaultValue, ESlateAttributeBindAction Actions=UE_SLATE_WITH_ATTRIBUTE_DEFAULT_INITIALIZATION_ACTION)
 
bool Assign (SWidget &Widget, const TAttribute< ObjectType > &OtherAttribute, ObjectType &&DefaultValue, ESlateAttributeBindAction Actions=UE_SLATE_WITH_ATTRIBUTE_DEFAULT_INITIALIZATION_ACTION)
 
bool Assign (SWidget &Widget, TAttribute< ObjectType > &&OtherAttribute, ObjectType &&DefaultValue, ESlateAttributeBindAction Actions=UE_SLATE_WITH_ATTRIBUTE_DEFAULT_INITIALIZATION_ACTION)
 
void Unbind (SWidget &Widget)
 
TAttribute< ObjectTypeToAttribute (const SWidget &Widget) const
 
bool IsBound (const SWidget &Widget) const
 

Additional Inherited Members

- Static Public Member Functions inherited from SlateAttributePrivate::TSlateAttributeBase< SWidget, InObjectType, InInvalidationReasonPredicate, InComparePredicate, ESlateAttributeType::Member >
static EInvalidateWidgetReason GetInvalidationReason (const SWidget &Widget)
 
static EInvalidateWidgetReason GetInvalidationReason (const ISlateAttributeContainer &Container)
 
static bool IdenticalTo (const SWidget &Widget, const ObjectType &Lhs, const ObjectType &Rhs)
 
static bool IdenticalTo (const ISlateAttributeContainer &Container, const ObjectType &Lhs, const ObjectType &Rhs)
 
- Static Public Member Functions inherited from FSlateAttributeBase
template<typename T >
static constexpr bool IsInvalidateWidgetReasonSupported (T Reason)
 
static constexpr bool IsInvalidateWidgetReasonSupported (EInvalidateWidgetReason Reason)
 
- Static Public Attributes inherited from SlateAttributePrivate::TSlateAttributeBase< SWidget, InObjectType, InInvalidationReasonPredicate, InComparePredicate, ESlateAttributeType::Member >
static const ESlateAttributeType AttributeType
 
static constexpr bool HasDefinedInvalidationReason
 
- Protected Member Functions inherited from SlateAttributePrivate::FSlateAttributeImpl
SLATECORE_API void ProtectedUnregisterAttribute (SWidget &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API void ProtectedRegisterAttribute (SWidget &Widget, ESlateAttributeType AttributeType, TUniquePtr< ISlateAttributeGetter > &&Wrapper)
 
SLATECORE_API void ProtectedInvalidateWidget (SWidget &Widget, ESlateAttributeType AttributeType, EInvalidateWidgetReason InvalidationReason) const
 
SLATECORE_API bool ProtectedIsBound (const SWidget &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API ISlateAttributeGetterProtectedFindGetter (const SWidget &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API FDelegateHandle ProtectedFindGetterHandle (const SWidget &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API void ProtectedUpdateNow (SWidget &Widget, ESlateAttributeType AttributeType)
 
SLATECORE_API bool ProtectedIsWidgetInDestructionPath (SWidget *Widget) const
 
SLATECORE_API bool ProtectedIsImplemented (const SWidget &Widget) const
 
SLATECORE_API void ProtectedMoveAttribute (SWidget &Widget, ESlateAttributeType AttributeType, const FSlateAttributeBase *Other)
 
SLATECORE_API void ProtectedUnregisterAttribute (ISlateAttributeContainer &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API void ProtectedRegisterAttribute (ISlateAttributeContainer &Widget, ESlateAttributeType AttributeType, TUniquePtr< ISlateAttributeGetter > &&Wrapper)
 
SLATECORE_API void ProtectedInvalidateWidget (ISlateAttributeContainer &Widget, ESlateAttributeType AttributeType, EInvalidateWidgetReason InvalidationReason) const
 
SLATECORE_API bool ProtectedIsBound (const ISlateAttributeContainer &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API ISlateAttributeGetterProtectedFindGetter (const ISlateAttributeContainer &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API FDelegateHandle ProtectedFindGetterHandle (const ISlateAttributeContainer &Widget, ESlateAttributeType AttributeType) const
 
SLATECORE_API void ProtectedUpdateNow (ISlateAttributeContainer &Widget, ESlateAttributeType AttributeType)
 

Member Typedef Documentation

◆ FGetter

◆ ObjectType

Constructor & Destructor Documentation

◆ TSlateMemberAttribute() [1/6]

◆ TSlateMemberAttribute() [2/6]

◆ TSlateMemberAttribute() [3/6]

◆ TSlateMemberAttribute() [4/6]

template<typename WidgetType , typename U = typename std::enable_if<std::is_base_of<SWidget, WidgetType>::value>::type>
SlateAttributePrivate::TSlateMemberAttribute< InObjectType, InInvalidationReasonPredicate, InComparePredicate >::TSlateMemberAttribute ( WidgetType &  Widget)
inlineexplicit

◆ TSlateMemberAttribute() [5/6]

template<typename WidgetType , typename U = typename std::enable_if<std::is_base_of<SWidget, WidgetType>::value>::type>
SlateAttributePrivate::TSlateMemberAttribute< InObjectType, InInvalidationReasonPredicate, InComparePredicate >::TSlateMemberAttribute ( WidgetType &  Widget,
const ObjectType InValue 
)
inlineexplicit

◆ TSlateMemberAttribute() [6/6]

template<typename WidgetType , typename U = typename std::enable_if<std::is_base_of<SWidget, WidgetType>::value>::type>
SlateAttributePrivate::TSlateMemberAttribute< InObjectType, InInvalidationReasonPredicate, InComparePredicate >::TSlateMemberAttribute ( WidgetType &  Widget,
ObjectType &&  InValue 
)
inlineexplicit

Member Function Documentation

◆ operator new()

◆ operator new[]()

◆ operator=() [1/2]

◆ operator=() [2/2]


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