XII Release 0.1.0
Loading...
Searching...
No Matches
xiiToolsReflectionUtils Class Reference

Helper functions for handling reflection related operations. More...

#include <ToolsReflectionUtils.h>

Static Public Member Functions

static xiiVariantType::Enum GetStorageType (const xiiAbstractProperty *pProperty)
 Returns the type under which the property is stored on the editor side.
 
static xiiVariant GetStorageDefault (const xiiAbstractProperty *pProperty)
 Returns the default value for the entire property as it is stored on the editor side.
 
static bool GetFloatFromVariant (const xiiVariant &val, double &out_fValue)
 
static bool GetVariantFromFloat (double fValue, xiiVariantType::Enum type, xiiVariant &out_val)
 
static void GetReflectedTypeDescriptorFromRtti (const xiiRTTI *pRtti, xiiReflectedTypeDescriptor &out_desc)
 Creates a ReflectedTypeDescriptor from a xiiRTTI instance that can be serialized and registered at the xiiPhantomRttiManager.
 
static void GetMinimalReflectedTypeDescriptorFromRtti (const xiiRTTI *pRtti, xiiReflectedTypeDescriptor &out_desc)
 
static void GatherObjectTypes (const xiiDocumentObject *pObject, xiiSet< const xiiRTTI * > &inout_types)
 
static bool DependencySortTypeDescriptorArray (xiiDynamicArray< xiiReflectedTypeDescriptor * > &ref_descriptors)
 

Detailed Description

Helper functions for handling reflection related operations.

Also check out xiiToolsSerializationUtils for related functionality.


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