The following functions allow for copy constructing a reflected variable.
void CopyConstructReflectedVariable(
ReflectionByteCode rbc,
void* lhs,
const void* rhs)
Copy construct a variable at address 'lhs' from a variable at address 'rhs' of the same type. rbc describes the type of both variables.
void CopyConstructReflectedArrayVariable(
ReflectionByteCode rbc,
ssize_t size,
void* lhs,
const void* rhs)
Copy construct 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 CopyConstructReflectedVectorVariableFromArray(
ReflectionByteCode rbc,
void* lhs, const
void* rhs,
ssize_t n)
Copy construct a xvector<T> at address 'lhs' from an array of T of size 'n' at address 'rhs'. rbc' describes the element type T.
void CopyConstructReflectedVectorVariable(
ReflectionByteCode rbc,
void* lhs,
const void* rhs)
Copy construct a xvector<T> at address 'lhs' from an xvector<T> at address 'rhs'. 'rbc' describes the element type T.
void CopyConstructReflectedClassVariable(
const ReflectedClass& rc,
void* lhs,
const void* rhs)
Copy construct 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 CopyConstructReflectedVariantVariable(
const ReflectedVariant& rv,
void* lhs,
const void* rhs)
Copy construct 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.