|
ponder
3.2
C++ reflection library
|
Specialized type of property for user types. More...
#include <userproperty.hpp>
Inheritance diagram for ponder::UserProperty:Public Member Functions | |
| UserProperty (IdRef name, const Class &propClass) | |
| Construct the property from its description. More... | |
| virtual | ~UserProperty () |
| Destructor. | |
| const Class & | getClass () const |
| Get the owner class. More... | |
| void | accept (ClassVisitor &visitor) const override |
| Accept the visitation of a ClassVisitor. More... | |
Public Member Functions inherited from ponder::Property | |
| virtual | ~Property () |
| Destructor. | |
| IdReturn | name () const |
| Get the name of the property. More... | |
| ValueKind | kind () const |
| Get the type of the property. More... | |
| virtual bool | isReadable () const |
| Check if the property can be read. More... | |
| virtual bool | isWritable () const |
| Check if the property can be written. More... | |
| Value | get (const UserObject &object) const |
| Get the current value of the property for a given object. More... | |
| void | set (const UserObject &object, const Value &value) const |
| Set the current value of the property for a given object. More... | |
Specialized type of property for user types.
| ponder::UserProperty::UserProperty | ( | IdRef | name, |
| const Class & | propClass | ||
| ) |
Construct the property from its description.
| name | Name of the property |
| propClass | Eumeration the property is bound to |
|
overridevirtual |
Accept the visitation of a ClassVisitor.
| visitor | Visitor to accept |
Reimplemented from ponder::Property.
| const Class& ponder::UserProperty::getClass | ( | ) | const |
Get the owner class.