#include <id.h>


Public Member Functions | |
| a2dMemberDclrTyped (basetype a2dObject::*ptm) | |
| bool | SetPropertyToObject (a2dObject *obj, const basetype &value) const |
| proptype * | GetPropertyClone (const a2dObject *obj) const |
| retrieve in form of a a2dNamedProperty the value of the property identified with this id | |
| basetype | GetPropertyValue (const a2dObject *obj) const |
| Get the property value in obj. | |
| basetype | GetPropertyValue (const a2dObject *obj, const basetype &defaultvalue) const |
| Get the property value in obj, if not found return default value given. | |
Protected Attributes | |
| basetype a2dObject::* | m_ptm |
| pointer to member | |
Definition at line 780 of file id.h.
| proptype * a2dMemberDclrTyped< basetype, proptype >::GetPropertyClone | ( | const a2dObject * | obj | ) | const [inline] |
retrieve in form of a a2dNamedProperty the value of the property identified with this id
The property id is defining the way a a2dNamedProperty can be set or retrieved from the a2dPropObject. If the m_ptm is set that will be used, else m_get and m_set, and in the end via dynamic properties.
| obj | the object on which the property needs to be retrieved |
Reimplemented from a2dPropertyIdTyped< basetype, proptype >.