The following functions allow for copy assignment on reflected variables.
void AssignReflectedVariable(
ReflectionByteCode rbc,
void* lhs,
const void* rhs)
Assign a variable at address 'lhs' from a variable at address 'rhs' of the same type. 'rbc' describes the type of both variables.
void AssignReflectedArrayVariable(
ReflectionByteCode rbc,
ssize_t size,
void* lhs,
const void* rhs)
Assign an array at address 'lhs' from an array of the same type and size at address 'rhs'. 'size' is the number of elements. 'rbc' describes the element type T.
void AssignReflectedVectorVariable(
ReflectionByteCode rbc,
void* lhs,
const void* rhs)
Assign a xvector<T> at address 'lhs' from an xvector<T> at address 'rhs'. 'rbc' describes the element type T.
void AssignReflectedClassVariable(
const ReflectedClass& rc,
void* lhs,
const void* rhs)
Assign a class variable at address 'lhs' from a class variable at address 'rhs' of the same type. 'rc' defines the type of both class variables.
void AssignReflectedVariantVariable(
const ReflectedVariant& rv,
void* lhs,
const void* rhs)
Assign a variant variable at address 'lhs' from a variant variable at address 'rhs' of the same type. 'rv' defines the type of both variant variables.