#include <object.h>
Public Types | |
| enum | { ABSTRACT = 1 } |
Public Member Functions | |
| const char * | className () const |
| const char * | description () const |
| bool | isAbstract () const |
| Object * | newObject () const |
| Object * | cloneObject (const Object &obj) const |
| int | superClassCount () const |
| const MetaObject * | superClass (int n) const |
| bool | inherits (const MetaObject *obj) const |
| bool | inherits (const char *name) const |
| int | classPropertyCount () const |
| const MetaProperty * | classProperty (int n) const |
| int | propertyCount () const |
| const MetaProperty * | property (int n) const |
| const MetaProperty * | property (const char *name) const |
| const char* className | ( | ) | const [inline] |
Returns class name
| const char* description | ( | ) | const [inline] |
Returns class description
| bool isAbstract | ( | ) | const [inline] |
Returns true if class is abstract
| Object* newObject | ( | ) | const [inline] |
Creates new object of this class
| int superClassCount | ( | ) | const [inline] |
Returns number of direct bases
| const MetaObject* superClass | ( | int | n | ) | const [inline] |
Returns direct base
| bool inherits | ( | const MetaObject * | obj | ) | const |
Returns true if this class inherits class described by obj
| bool inherits | ( | const char * | name | ) | const |
Returns true if this class inherits class named name
| int classPropertyCount | ( | ) | const [inline] |
Returns number of non-inherited properties
| const MetaProperty* classProperty | ( | int | n | ) | const [inline] |
Returns non-inherited property
| int propertyCount | ( | ) | const |
Returns property count
| const MetaProperty * property | ( | int | n | ) | const |
Returns property by index
| const MetaProperty * property | ( | const char * | name | ) | const |
Returns property by name
1.5.1