.. _api_MetaProperty: MetaProperty ============ Inherited: None .. _api_MetaProperty_description: 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. .. _api_MetaProperty_public: Public Methods -------------- +-------------------------------------------------------------+----------------------------------------------------------------------------------------+ | | :ref:`MetaProperty` (const MetaProperty::Table * table) | +-------------------------------------------------------------+----------------------------------------------------------------------------------------+ | bool | :ref:`isValid` () const | +-------------------------------------------------------------+----------------------------------------------------------------------------------------+ | const char | :ref:`name` () const | +-------------------------------------------------------------+----------------------------------------------------------------------------------------+ | const :ref:`MetaProperty::Table` * | :ref:`table` () const | +-------------------------------------------------------------+----------------------------------------------------------------------------------------+ | const :ref:`MetaType` | :ref:`type` () const | +-------------------------------------------------------------+----------------------------------------------------------------------------------------+ .. _api_MetaProperty_static: Static Methods -------------- None .. _api_MetaProperty_methods: Methods Description ------------------- .. _api_MetaProperty_MetaProperty: **MetaProperty::MetaProperty** (:ref:`MetaProperty::Table` * *table*) Constructs MetaProperty object which will contain information provided in a *table*. ---- .. _api_MetaProperty_isValid: bool **MetaProperty::isValid** () const Returns true if property is valid; otherwise returns false. ---- .. _api_MetaProperty_name: const char **MetaProperty::name** () const Returns a name of method. ---- .. _api_MetaProperty_table: const :ref:`MetaProperty::Table` * **MetaProperty::table** () const Returns property information table. ---- .. _api_MetaProperty_type: const :ref:`MetaType` **MetaProperty::type** () const Returns a type of property.