#include <Properties.h>
Inheritance diagram for PropC::Property< T, O, getter, setter >:
Public Member Functions | |
Property (O *obj) | |
Property & | operator= (T new_value) |
operator T () const |
Use like this
class Widget : public PropC::Object { ... bool get_realized () const { ... } void realize (bool = true) { ... } public: PropC::Property<bool, Widget, &Widget::get_realized, &Widget::realize> realized; Widget () : realized (this) .. { ... } }; ... Widget w; if (w.realized) { ... }
|
|
|
Implements PropC::Property_Base< T >. |
|
Implements PropC::Property_Base< T >. |
Documentation for photonmm by Yakov <iakovz@gmail.com>.