#include <ArticyReflectable.h>
|
| 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 bool | HasProperty (const UClass *Class, const FName &Property) |
|
|
FReportChangedDelegate | ReportChanged |
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.
◆ 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: