![]() |
Plasma Engine
2.0
|
Helper functions for handling reflection related operations. More...
#include <ToolsReflectionUtils.h>
Static Public Member Functions | |
static plVariant | GetStorageDefault (const plAbstractProperty *pProperty) |
Returns the default value for the entire property as it is stored on the editor side. | |
static bool | GetFloatFromVariant (const plVariant &val, double &out_fValue) |
static bool | GetVariantFromFloat (double fValue, plVariantType::Enum type, plVariant &out_val) |
static void | GetReflectedTypeDescriptorFromRtti (const plRTTI *pRtti, plReflectedTypeDescriptor &out_desc) |
Creates a ReflectedTypeDescriptor from an plRTTI instance that can be serialized and registered at the plPhantomRttiManager. | |
static void | GetMinimalReflectedTypeDescriptorFromRtti (const plRTTI *pRtti, plReflectedTypeDescriptor &out_desc) |
static void | GatherObjectTypes (const plDocumentObject *pObject, plSet< const plRTTI * > &inout_types) |
static bool | DependencySortTypeDescriptorArray (plDynamicArray< plReflectedTypeDescriptor * > &ref_descriptors) |
Helper functions for handling reflection related operations.
Also check out plToolsSerializationUtils for related functionality.