DataProperty

class ReflectExport(reflect) DataProperty : public Property

Properties represent a single data element.

Implemented By

See Also

Summary
DataPropertyProperties represent a single data element.
Functions
DataTypeThe type of data represented by this property.
WriteDataWrites this property with the Variant value.
ReadDataReads this property with the Variant value.
RefDataRefs this property into the Variant value.

Functions

DataType

virtual Type *DataType() const = 0

The type of data represented by this property.

WriteData

virtual bool WriteData(void *object,
const Variant &value) const = 0

Writes this property with the Variant value.

ReadData

virtual bool ReadData(const void *,
Variant &) const = 0

Reads this property with the Variant value.

RefData

virtual bool RefData(const void *,
void *,
Variant &) const = 0

Refs this property into the Variant value.

class ReflectExport(reflect) DataProperty : public Property
Properties represent a single data element.
virtual Type *DataType() const = 0
The type of data represented by this property.
virtual bool WriteData(void *object,
const Variant &value) const = 0
Writes this property with the Variant value.
class ReflectExport(reflect) Variant
Variants represent objects of any reflected type.
virtual bool ReadData(const void *,
Variant &) const = 0
Reads this property with the Variant value.
virtual bool RefData(const void *,
void *,
Variant &) const = 0
Refs this property into the Variant value.
template<typename ObjectType, typename MemberType> class DirectDataProperty : public DataProperty
An implemetation of a DataProperty using a pointer-to-member to access the data.
template<typename ObjectType, typename MemberType> class AccessorProperty : public DataProperty
An implemetation of DataProperty using a pair of callbacks to read and write a direct reference.
template<typename ObjectType, typename MemberType> class AccessorDirectProperty : public DataProperty
An implemetation of DataProperty using a pair of callbacks to read and write a reference.
template<typename ObjectType, typename Type> class AccessorAccessProperty : public DataProperty
An implemetation of DataProperty using a pair of callbacks to access a reference (const and non-const).
template<typename ObjectType, typename MemberType> class AccessorIndirectProperty : public DataProperty
An implemetation of DataProperty using a pair of callbacks to read and write an indirect reference.
template<typename BaseObjectType> class BaseClassProperty : public DataProperty
An implemetation of Property which serializes a base class of another class.
class ReflectExport(reflect) Property : public Dynamic
Properties represent data in a reflected type, and can be used to Serialize that data through a Reflector.
Close