13#ifndef UE_SLATE_WITH_MEMBER_ATTRIBUTE_DEBUGGING
14 #define UE_SLATE_WITH_MEMBER_ATTRIBUTE_DEBUGGING 0
16#ifndef UE_SLATE_WITH_ATTRIBUTE_INITIALIZATION_ON_BIND
17 #define UE_SLATE_WITH_ATTRIBUTE_INITIALIZATION_ON_BIND 0
19#ifndef UE_SLATE_WITH_ATTRIBUTE_NAN_DIAGNOSTIC
20 #define UE_SLATE_WITH_ATTRIBUTE_NAN_DIAGNOSTIC DO_ENSURE
173#if UE_SLATE_WITH_ATTRIBUTE_INITIALIZATION_ON_BIND
174# define UE_SLATE_WITH_ATTRIBUTE_DEFAULT_INITIALIZATION_ACTION ESlateAttributeBindAction::Initialize
176# define UE_SLATE_WITH_ATTRIBUTE_DEFAULT_INITIALIZATION_ACTION ESlateAttributeBindAction::None
200template<
typename ComparePredicate = TEqualTo<>>
203 template<
typename ObjectType>
223template<EInval
idateW
idgetReason Inval
idationReason>
232template<
typename ObjectType>
239 template<
typename OtherType>
244 template<
class SourceType>
247 template<
class SourceType >
250 bool IsSet()
const {
return false; }
252 template<
typename OtherType>
255 const ObjectType&
Get(
const ObjectType& DefaultValue)
const {
return DefaultValue; }
256 const ObjectType&
Get()
const {
static ObjectType Temp;
return Temp; }
260 template<
class SourceType>
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define ENUM_CLASS_FLAGS(Enum)
Definition EnumClassFlags.h:6
ESlateAttributeBindAction
Definition SlateAttribute.h:168
@ LexicalCompareInvariants
CORE_API bool IdenticalTo(const FText &Other, const ETextIdenticalModeFlags CompareModeFlags=ETextIdenticalModeFlags::None) const
Definition Text.cpp:1366
Definition Attribute.h:17
Definition SharedPointer.h:153
Definition SlateAttribute.h:181
static constexpr bool IsInvalidateWidgetReasonSupported(EInvalidateWidgetReason Reason)
Definition SlateAttribute.h:192
static constexpr bool IsInvalidateWidgetReasonSupported(T Reason)
Definition SlateAttribute.h:188
Definition SlateAttribute.h:202
static bool IdenticalTo(const SWidget &, ObjectType &&Lhs, ObjectType &&Rhs)
Definition SlateAttribute.h:204
Definition SlateAttribute.h:214
static bool IdenticalTo(const SWidget &, const FText &Lhs, const FText &Rhs)
Definition SlateAttribute.h:215
Definition SlateAttribute.h:225
static constexpr EInvalidateWidgetReason GetInvalidationReason(const SWidget &)
Definition SlateAttribute.h:227
Definition SlateAttribute.h:234
bool IsSet() const
Definition SlateAttribute.h:250
void Bind(SourceType *InUserObject, typename FGetter::template TConstMethodPtr< SourceType > InMethodPtr)
Definition SlateAttribute.h:261
TSlateDeprecatedTAttribute(SourceType *InUserObject, typename FGetter::template TConstMethodPtr< SourceType > InMethodPtr)
Definition SlateAttribute.h:248
TSlateDeprecatedTAttribute()=default
TSlateDeprecatedTAttribute(const OtherType &InInitialValue)
Definition SlateAttribute.h:240
FGetter GetBinding() const
Definition SlateAttribute.h:257
bool IsBound() const
Definition SlateAttribute.h:262
void Bind(const FGetter &InGetter)
Definition SlateAttribute.h:259
typename TAttribute< ObjectType >::FGetter FGetter
Definition SlateAttribute.h:237
const ObjectType & Get() const
Definition SlateAttribute.h:256
bool IdenticalTo(const TAttribute< ObjectType > &InOther) const
Definition SlateAttribute.h:264
TSlateDeprecatedTAttribute(TSharedRef< SourceType > InUserObject, typename FGetter::template TConstMethodPtr< SourceType > InMethodPtr)
Definition SlateAttribute.h:245
const ObjectType & Get(const ObjectType &DefaultValue) const
Definition SlateAttribute.h:255
void Set(const OtherType &InNewValue)
Definition SlateAttribute.h:253
TSlateDeprecatedTAttribute(ObjectType &&InInitialValue)
Definition SlateAttribute.h:242