3#include <Foundation/Reflection/Reflection.h>
4#include <Foundation/Types/Delegate.h>
5#include <Foundation/Types/Variant.h>
35 plResult InitializeFromPath(
const plRTTI& rootObjectRtti,
const char* szPath);
52 void SetValue(
void* pRootObject,
const plRTTI& type,
const plVariant& value)
const;
57 SetValue(pRootObject, *plGetStaticRTTI<T>(), value);
61 void GetValue(
void* pRootObject,
const plRTTI& type,
plVariant& out_value)
const;
66 GetValue(pRootObject, *plGetStaticRTTI<T>(), out_value);
79 bool m_bIsValid =
false;
This is the base interface for all properties in the reflection system. It provides enough informatio...
Definition AbstractProperty.h:150
This class encapsulates an array and it's size. It is recommended to use this class instead of plain ...
Definition ArrayPtr.h:37
A hybrid array uses in-place storage to handle the first few elements without any allocation....
Definition HybridArray.h:12
Stores a path from an object of a given type to a property inside of it. Once initialized to a specif...
Definition PropertyPath.h:25
PL_ALWAYS_INLINE void SetValue(T *pRootObject, const plVariant &value) const
Convenience function that writes 'value' to the 'pRootObject' at the current path.
Definition PropertyPath.h:55
PL_ALWAYS_INLINE void GetValue(T *pRootObject, plVariant &out_value) const
Convenience function that reads the value from 'pRootObject' at the current path and stores it in 'ou...
Definition PropertyPath.h:64
This class holds information about reflected types. Each instance represents one type that is known t...
Definition RTTI.h:30
plVariant is a class that can store different types of variables, which is useful in situations where...
Definition Variant.h:44
A generic delegate class which supports static functions and member functions.
Definition Delegate.h:76
Reflected property step that can be used to init an plPropertyPath.
Definition PropertyPath.h:12
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54