Print reflected variables

The following functions allow for printing a reflected variable to an xostream.


void PrintReflectedVariable(
    xostream& os,
    ReflectionByteCode rbc,
    const void* data,
    bool allowMultiLine = true,
    const PrintTypeSettings& pts = PrintTypeSettings()


void PrintReflectedVector(
    xostream& os,
    ReflectionByteCode rbc,
    const void* data,
    bool allowMultiLine = true,
    const PrintTypeSettings& pts = PrintTypeSettings())

Print the current value of a xvector<T> variable at address 'data'. 'rbc' describes the element type T.


void PrintReflectedArray(
    xostream& os,
    ReflectionByteCode rbc,
    ssize_t size,
    const void* data,
    bool allowMultiLine = true,
    const PrintTypeSettings& pts = PrintTypeSettings())

Print the current value of an array variable with 'size' elements located at address 'data'. 'rbc' describes the element type T.


void PrintReflectedClassVariable(
    xostream& os,
    const ReflectedClass& rc,
    const void* data,
    bool allowMultiLine = true,
    const PrintTypeSettings& pts = PrintTypeSettings())


void PrintReflectedVariantVariable(
    xostream& os,
    const ReflectedVariant& rv,
    const void* data,
    bool allowMultiLine = true,
    const PrintTypeSettings& pts = PrintTypeSettings())


void PrintInstance(
    xostream& os,
    ptr<const IObject> x,
    const PrintTypeSettings& pts = PrintTypeSettings())