AccessorProperty

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.

The callbacks must be methods that look like

Type GetMember() const;
void SetMember(Type);
Summary
AccessorPropertyAn implemetation of DataProperty using a pair of callbacks to read and write a direct reference.
Members
mGetter
mSetter

Members

mGetter

MemberType (ObjectType::*mGetter)() const

mSetter

void (ObjectType::*mSetter)(MemberType)
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.
class ReflectExport(reflect) DataProperty : public Property
Properties represent a single data element.
MemberType (ObjectType::*mGetter)() const
void (ObjectType::*mSetter)(MemberType)
Close