ArticyXImporter
ArticyXImporter for Unreal Engine
Loading...
Searching...
No Matches
IArticyReflectable Class Reference

#include <ArticyReflectable.h>

Inheritance diagram for IArticyReflectable:
IArticyFlowObject IArticyObjectWith_Base UArticyBaseObject UArticyBaseVariableSet UArticyGlobalVariables IArticyInputPinsProvider IArticyOutputPinsProvider UArticyFlowPin IArticyObjectWithAttachments IArticyObjectWithColor IArticyObjectWithDisplayName IArticyObjectWithExternalId IArticyObjectWithMenuText IArticyObjectWithPosition IArticyObjectWithPreviewImage IArticyObjectWithShortId IArticyObjectWithSize IArticyObjectWithSpeaker IArticyObjectWithStageDirections IArticyObjectWithTarget IArticyObjectWithText IArticyObjectWithTransform IArticyObjectWithVertices IArticyObjectWithZIndex UArticyBaseFeature UArticyPreviewImage UArticyPrimitive UArticyTransformation

Public Member Functions

template<typename TValue>
TValue SetProp (FName Property, TValue Value, int32 ArrayIndex=0)
template<typename TValue>
TValue & GetProp (FName Property, int32 ArrayIndex=0)
template<typename TValue>
const TValue & GetProp (FName Property, int32 ArrayIndex=0) const
template<typename TValue>
TValue * GetPropPtr (FName Property, int32 ArrayIndex=0) const
FProperty * GetProperty (FName Property) const
virtual UClass * GetObjectClass () const

Static Public Member Functions

static bool HasProperty (const UClass *Class, const FName &Property)

Public Attributes

FReportChangedDelegate ReportChanged

Detailed Description

This interface provides convinience methods to get and set properties via reflection. It also caches reflection information on a per (runtime-)class basis, so it is faster than directly using the unreal reflection system.

Member Function Documentation

◆ GetProp() [1/2]

template<typename TValue>
TValue & IArticyReflectable::GetProp ( FName Property,
int32 ArrayIndex = 0 )

Get the property with a given name.

◆ GetProp() [2/2]

template<typename TValue>
const TValue & IArticyReflectable::GetProp ( FName Property,
int32 ArrayIndex = 0 ) const
inline

Get the const property with a given name.

◆ GetProperty()

FProperty * IArticyReflectable::GetProperty ( FName Property) const
inline

Returns the pointer to a property of a given name.

◆ GetPropPtr()

template<typename TValue>
TValue * IArticyReflectable::GetPropPtr ( FName Property,
int32 ArrayIndex = 0 ) const
inline

Returns the pointer to a property of a given name.

◆ HasProperty()

bool IArticyReflectable::HasProperty ( const UClass * Class,
const FName & Property )
inlinestatic

Returns true if the Property can be found on the given Class.

◆ SetProp()

template<typename TValue>
TValue IArticyReflectable::SetProp ( FName Property,
TValue Value,
int32 ArrayIndex = 0 )

Set the property with a given name.


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