10template <
typename PropertyBaseClass>
14 template <
typename PropertyCodegenParams>
16 : PropertyBaseClass(
InOwner, Prop)
22#if UE_WITH_CONSTINIT_UOBJECT
49 checkf(
SetterFunc,
TEXT(
"Calling a setter on %s but the property has no setter defined."), *PropertyBaseClass::GetFullName());
55 checkf(
GetterFunc,
TEXT(
"Calling a getter on %s but the property has no getter defined."), *PropertyBaseClass::GetFullName());
#define checkf(expr, format,...)
Definition AssertionMacros.h:315
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
void(* GetterFuncPtr)(const void *InContainer, void *OutValue)
Definition UObjectGlobals.h:3595
void(* SetterFuncPtr)(void *InContainer, const void *InValue)
Definition UObjectGlobals.h:3594
Definition PropertyWithSetterAndGetter.h:12
virtual bool HasSetter() const override
Definition PropertyWithSetterAndGetter.h:32
TPropertyWithSetterAndGetter(FFieldVariant InOwner, const PropertyCodegenParams &Prop)
Definition PropertyWithSetterAndGetter.h:15
virtual bool HasSetterOrGetter() const override
Definition PropertyWithSetterAndGetter.h:42
SetterFuncPtr SetterFunc
Definition PropertyWithSetterAndGetter.h:61
virtual bool HasGetter() const override
Definition PropertyWithSetterAndGetter.h:37
virtual void CallSetter(void *Container, const void *InValue) const override
Definition PropertyWithSetterAndGetter.h:47
GetterFuncPtr GetterFunc
Definition PropertyWithSetterAndGetter.h:62
virtual void CallGetter(const void *Container, void *OutValue) const override
Definition PropertyWithSetterAndGetter.h:53