a2dPropertyIdGetSet< basetype, proptype > Class Template Reference
[a2dPropObject holds property objects]

#include <id.h>

Inheritance diagram for a2dPropertyIdGetSet< basetype, proptype >:

Inheritance graph
[legend]
Collaboration diagram for a2dPropertyIdGetSet< basetype, proptype >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef basetype(a2dObject::* Get )() const
 get method
typedef void(a2dObject::* Set )(basetype)
 set method
typedef void(a2dObject::* ConstSet )(const basetype &value)
 constant get method
typedef basetype a2dObject::* Mptr
 member pointer

Public Member Functions

 a2dPropertyIdGetSet (const wxString &name, a2dPropertyId::Flags flags, const basetype &defaultvalue, Get getFunc, Set setFunc)
 constructor
 a2dPropertyIdGetSet (const wxString &name, a2dPropertyId::Flags flags, const basetype &defaultvalue, Get getFunc, ConstSet setFunc)
 constructor
bool SetPropertyToObject (a2dObject *obj, const basetype &value) const
 Set the property value in obj.
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.
proptype * GetPropertyClone (const a2dObject *obj) const
 Get the property in obj (cloned).
a2dNamedPropertyGetPropertyAsNamedProperty (const a2dObject *obj) const


Detailed Description

template<class basetype, class proptype>
class a2dPropertyIdGetSet< basetype, proptype >

Like a2dPropertyIdTyped, but always references a certain member Get and Set function in a certain class

Definition at line 732 of file id.h.


The documentation for this class was generated from the following files:
a2dPropertyIdGetSet< basetype, proptype > Class Template Reference -- Tue Aug 31 18:32:32 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation