A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
FNYReflectionHelper Class Reference

#include <NYReflectionHelper.h>

Static Public Member Functions

template<typename To , typename From >
static FORCEINLINE const To * CastProperty (const From *Src)
 
template<typename To , typename From >
static FORCEINLINE To * CastProperty (From *Src)
 
static FORCEINLINE UField * GetStructChildren (const UStruct *Struct)
 
template<typename PropertyType , typename VariableType >
static VariableType GetVariable (const UObject *Object, FName VariableName)
 
template<typename ContainerType >
static void GetVariableNames (const UClass *ParticipantClass, const FNYPropertyClass *PropertyClass, ContainerType &OutContainer, const TArray< UClass * > &BlacklistedClasses)
 
template<typename PropertyType , typename VariableType >
static void ModifyVariable (UObject *Object, FName VariableName, const VariableType Value, bool bDelta)
 
template<typename PropertyType , typename VariableType >
static void SetVariable (UObject *Object, FName VariableName, const VariableType NewValue)
 
template<typename To , typename From >
static To * SmartCastProperty (From *Src)
 

Detailed Description

Definition at line 13 of file NYReflectionHelper.h.

Member Function Documentation

◆ CastProperty() [1/2]

template<typename To , typename From >
static FORCEINLINE const To * FNYReflectionHelper::CastProperty ( const From * Src)
inlinestatic

Definition at line 60 of file NYReflectionHelper.h.

◆ CastProperty() [2/2]

template<typename To , typename From >
static FORCEINLINE To * FNYReflectionHelper::CastProperty ( From * Src)
inlinestatic

Definition at line 54 of file NYReflectionHelper.h.

◆ GetStructChildren()

static FORCEINLINE UField * FNYReflectionHelper::GetStructChildren ( const UStruct * Struct)
inlinestatic

Definition at line 65 of file NYReflectionHelper.h.

Here is the caller graph for this function:

◆ GetVariable()

template<typename PropertyType , typename VariableType >
static VariableType FNYReflectionHelper::GetVariable ( const UObject * Object,
FName VariableName )
inlinestatic

Definition at line 89 of file NYReflectionHelper.h.

◆ GetVariableNames()

template<typename ContainerType >
static void FNYReflectionHelper::GetVariableNames ( const UClass * ParticipantClass,
const FNYPropertyClass * PropertyClass,
ContainerType & OutContainer,
const TArray< UClass * > & BlacklistedClasses )
inlinestatic

Definition at line 199 of file NYReflectionHelper.h.

Here is the caller graph for this function:

◆ ModifyVariable()

template<typename PropertyType , typename VariableType >
static void FNYReflectionHelper::ModifyVariable ( UObject * Object,
FName VariableName,
const VariableType Value,
bool bDelta )
inlinestatic

Definition at line 122 of file NYReflectionHelper.h.

◆ SetVariable()

template<typename PropertyType , typename VariableType >
static void FNYReflectionHelper::SetVariable ( UObject * Object,
FName VariableName,
const VariableType NewValue )
inlinestatic

Definition at line 165 of file NYReflectionHelper.h.

◆ SmartCastProperty()

template<typename To , typename From >
static To * FNYReflectionHelper::SmartCastProperty ( From * Src)
inlinestatic

Definition at line 72 of file NYReflectionHelper.h.


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