Inheritance diagram for AbstractPropertyAccess:


Constructors & Destructors | |
| AbstractPropertyAccess (const char *name) | |
| virtual | ~AbstractPropertyAccess () |
Interface | |
| virtual bool | set (const Variant &data)=0 |
| virtual Variant | get () const=0 |
| virtual bool | set (u_int i, const Variant &data)=0 |
| virtual Variant | get (u_int i) const=0 |
| const char * | name () const |
| bool | isWritable () const |
| bool | isVector () const |
| Variant::types | type () const |
| virtual Propertized * | object ()=0 |
| virtual AbstractPropertyAccess * | clone () const=0 |
Protected Attributes | |
| char * | namep |
| Variant::types | typep |
| bool | writable |
| bool | vectorv |
| AbstractPropertyAccess | ( | const char * | name | ) | [inline] |
Constructor
| virtual ~AbstractPropertyAccess | ( | ) | [inline, virtual] |
Destructor
| virtual bool set | ( | const Variant & | data | ) | [pure virtual] |
Set the value of property
Implemented in PropertyAccess, and VectorPropertyAccess.
| virtual Variant get | ( | ) | const [pure virtual] |
Return the value of property
Implemented in PropertyAccess, and VectorPropertyAccess.
Set the i-th value of Vector property
Implemented in PropertyAccess, and VectorPropertyAccess.
Return the i-th value of Vector property
Implemented in PropertyAccess, and VectorPropertyAccess.
| const char* name | ( | ) | const [inline] |
Return the name of property
| bool isWritable | ( | ) | const [inline] |
Return true if the property is writable
| bool isVector | ( | ) | const [inline] |
Return true if the property is a Vector value
| Variant::types type | ( | ) | const [inline] |
Return the type of property
| virtual Propertized* object | ( | ) | [pure virtual] |
Return the object whom this AbstractPropertyAccess is refered to
Implemented in PropertyAccess, and VectorPropertyAccess.
| virtual AbstractPropertyAccess* clone | ( | ) | const [pure virtual] |
char* namep [protected] |
Name of property
Variant::types typep [protected] |
Type of property
bool writable [protected] |
True if the property is writable
bool vectorv [protected] |
True if the property is a Vector of values