Serialise reflected variables

The following functions allow for serialising a reflected variable to a given Archive.

Reflection information allows the framework to serialise / deserialise an object in an efficient, platform independent binary format.

This is needed by the operational transform system to serialise the keys of maps.

Type Restriction

The following restriction is imposed on types that may be serialised: As the reflected type is recursed the debug build will assert if it comes across any of the following

Functions


void SerialiseReflectedVariable(
    Archive& ar,
    ReflectionByteCode rbc,
    const void* data)


void SerialiseReflectedClassInstance(
    Archive& ar,
    const ReflectedClass& rc,
    const void* data)


void SerialiseReflectedVariantInstance(
    Archive& ar,
    const ReflectedVariant& rv,
    const void* data)