|
Public Types |
enum | AssocPos { NoAssoc,
First,
Second
} |
enum | AssocLevel { None,
Weak,
Strong
} |
Public Member Functions |
| Property (const std::string &name) |
virtual | ~Property () |
template<class Self, class Type> Property & | getMethod (Self *self, const Type &(Self::*method)() const) |
template<class Self, class Type> Property & | getMethod (Self *self, const Type &(Self::*method)()) |
template<class Self, class Type> Property & | getMethod (Self *self, Type *(Self::*method)()) |
template<class Self, class Type> Property & | setMethod (Self *self, void(Self::*method)(const Type &)) |
template<class Self, class Type> Property & | setMethod (Self *self, void(Self::*method)(Type *)) |
template<class Self, class Type> Property & | addMethod (Self *self, void(Self::*method)(const Type &)) |
template<class Self, class Type> Property & | addMethod (Self *self, void(Self::*method)(Type *)) |
template<class Self, class Type> Property & | removeMethod (Self *self, void(Self::*method)(const Type &)) |
template<class Self, class Type> Property & | removeMethod (Self *self, void(Self::*method)(Type *)) |
template<class Self> Property & | clearMethod (Self *self, void(Self::*method)()) |
Property & | assoc (Association *assoc, AssocPos pos, AssocLevel level) |
const std::string & | name () const |
virtual bool | canGet () const |
virtual bool | canSet () const |
virtual bool | canAdd () const |
virtual bool | canRemove () const |
virtual bool | canClear () const |
virtual Object * | get () |
virtual void | set (Object *value) |
virtual void | add (Object *value) |
virtual void | remove (Object *value) |
virtual void | clear () |
Association * | association () |
AssocPos | position () const |
AssocLevel | level () const |