Skip to content

LD::Editor::PropertyUtils::IO::FPropertyData_Base

Inherits from TSharedFromThis< FPropertyData_Base >

Inherited by LD::Editor::PropertyUtils::IO::FNodePropertyData, LD::Editor::PropertyUtils::IO::FOwningBlueprintPropertyData

Public Functions

Name
virtual ~FPropertyData_Base() =default
FPropertyData_Base(const EPropertyOwnerType InPropertyType)
FORCEINLINE bool operator==(const FPropertyData_Base & Other) const
virtual bool Equals(const FPropertyData_Base & Other) const
template \<typename T >
TSharedPtr< T >
As()
template \<typename T >
TSharedPtr< T >
AsChecked()
template \<typename T >
bool
IsA()

Public Attributes

Name
EPropertyOwnerType PropertyOwnerType
const FProperty * Property
UObject * SourceObject

Public Functions Documentation

function ~FPropertyData_Base

virtual ~FPropertyData_Base() =default

function FPropertyData_Base

inline explicit FPropertyData_Base(
    const EPropertyOwnerType InPropertyType
)

function operator==

inline FORCEINLINE bool operator==(
    const FPropertyData_Base & Other
) const

function Equals

inline virtual bool Equals(
    const FPropertyData_Base & Other
) const

Check equality which can be overloaded.


function As

template <typename T >
inline TSharedPtr< T > As()

Cast to a child type. Returns nullptr if not supported.


function AsChecked

template <typename T >
inline TSharedPtr< T > AsChecked()

Cast to a child type. Cannot fail.


function IsA

template <typename T >
inline bool IsA()

Checks if this is of a type T.


Public Attributes Documentation

variable PropertyOwnerType

EPropertyOwnerType PropertyOwnerType;

Used for casting to children types.


variable Property

const FProperty * Property;

The property this is for.


variable SourceObject

UObject * SourceObject;

The source object making the request. This does not have to be the direct owner of the property. Such as a graph property belonging to a state class would likely have a source of the owning state machine BP.

This is used to look up the correct blueprint to use.

If this is null it is looked up from the Property.