Property

class ReflectExport(reflect) Property : public Dynamic

Properties represent data in a reflected type, and can be used to Serialize that data through a Reflector.

Some reflected subclasses of Property provide more detailed access.

  • DataProperty represents a single element.
  • ArrayProperty represents a indexed sequence of elements of the same type. this may be resizable like a vector, or fixed like an array.
  • MapProperty represents a key/value map of elements.
Summary
PropertyProperties represent data in a reflected type, and can be used to Serialize that data through a Reflector.
Functions
SerializeReads or writes the represented data using a Reflector.

Functions

Serialize

virtual void Serialize(const void *in,
void *out,
Reflector &reflector) const = 0

Reads or writes the represented data using a Reflector.

Parameters

inconst object for the reflector to read if <reflector.Serializing()>
outmutable object for the reflector to write to if <reflector.Deserializing()>
class ReflectExport(reflect) Property : public Dynamic
Properties represent data in a reflected type, and can be used to Serialize that data through a Reflector.
virtual void Serialize(const void *in,
void *out,
Reflector &reflector) const = 0
Reads or writes the represented data using a Reflector.
class ReflectExport(reflect) Reflector
Reflectors provides an easy and uniform interface for using Serializers, and Deserializers, and maintain a bool for error detection/handling.
class ReflectExport(reflect) DataProperty : public Property
Properties represent a single data element.
class ReflectExport(reflect) ArrayProperty : public Property
ArrayProperties represent numerically indexed data.
class ReflectExport(reflect) MapProperty : public Property
MapProperties represent key indexed data.
Close