MetaProperty¶
Inherited: None
Description¶
This class is a part of Object-Introspection-Mechanism. MetaProperty provides information about one particular class property. Developers are able to retrieve information about property type, read and write values.
To make properties visible in introspection mechanism, developers must declare those under A_PROPERTIES() macro.
Public Methods¶
Static Methods¶
None
Methods Description¶
MetaProperty::MetaProperty (MetaProperty::Table * table)
Constructs MetaProperty object which will contain information provided in a table.
bool MetaProperty::isValid () const
Returns true if property is valid; otherwise returns false.
const char MetaProperty::name () const
Returns a name of method.
const MetaProperty::Table * MetaProperty::table () const
Returns property information table.
const MetaType MetaProperty::type () const
Returns a type of property.