step/stepcore
StepCore::MetaObject Class Reference
[Reflections]
#include <object.h>
List of all members.
Detailed Description
Meta-information about class.
Definition at line 154 of file object.h.
Member Enumeration Documentation
- Enumerator:
-
| ABSTRACT |
Class is abstract. |
Definition at line 157 of file object.h.
Member Function Documentation
| int StepCore::MetaObject::classId |
( |
|
) |
const [inline] |
Returns class id.
Definition at line 167 of file object.h.
| const QString& StepCore::MetaObject::className |
( |
|
) |
const [inline] |
Returns class name.
Definition at line 163 of file object.h.
| const MetaProperty* StepCore::MetaObject::classProperty |
( |
int |
n |
) |
const [inline] |
Returns non-inherited property.
Definition at line 194 of file object.h.
| int StepCore::MetaObject::classPropertyCount |
( |
|
) |
const [inline] |
Returns number of non-inherited properties.
Definition at line 192 of file object.h.
| Object* StepCore::MetaObject::cloneObject |
( |
const Object & |
obj |
) |
const [inline] |
Creates a copy of given object.
Definition at line 174 of file object.h.
| void StepCore::MetaObject::copyProperties |
( |
const MetaProperty ** |
dest |
) |
const |
| const QString& StepCore::MetaObject::description |
( |
|
) |
const [inline] |
Returns class description.
Definition at line 165 of file object.h.
| bool StepCore::MetaObject::inherits |
( |
const char * |
name |
) |
const |
Returns true if this class inherits class named name.
- Note:
- Due to technical reason this is much slower then inherits(const MetaObject*) function
Definition at line 74 of file object.cc.
template<class T>
| bool StepCore::MetaObject::inherits |
( |
T * |
|
) |
const [inline] |
Returns true if this class inherits class T.
Definition at line 185 of file object.h.
template<class T>
| bool StepCore::MetaObject::inherits |
( |
|
) |
const [inline] |
Returns true if this class inherits class T.
Definition at line 183 of file object.h.
| bool StepCore::MetaObject::inherits |
( |
const MetaObject * |
obj |
) |
const |
Returns true if this class inherits class described by obj.
Definition at line 65 of file object.cc.
| void StepCore::MetaObject::init |
( |
|
) |
const |
| bool StepCore::MetaObject::isAbstract |
( |
|
) |
const [inline] |
Returns true if class is abstract.
Definition at line 170 of file object.h.
| Object* StepCore::MetaObject::newObject |
( |
|
) |
const [inline] |
Creates new object of this class.
Definition at line 172 of file object.h.
Returns property by name.
Definition at line 108 of file object.cc.
| const MetaProperty* StepCore::MetaObject::property |
( |
int |
n |
) |
const [inline] |
Returns property by index.
Definition at line 199 of file object.h.
| int StepCore::MetaObject::propertyCount |
( |
|
) |
const [inline] |
Returns property count.
Definition at line 197 of file object.h.
| const MetaObject* StepCore::MetaObject::superClass |
( |
int |
n |
) |
const [inline] |
Returns direct base.
Definition at line 179 of file object.h.
| int StepCore::MetaObject::superClassCount |
( |
|
) |
const [inline] |
Returns number of direct bases.
Definition at line 177 of file object.h.
Member Data Documentation
The documentation for this class was generated from the following files: