step/stepcore
StepCore::Factory Class Reference
#include <factory.h>
Public Member Functions | |
const MetaObject * | metaObject (const QString &name) const |
const QHash< QString, const MetaObject * > & | metaObjects () const |
CollisionSolver * | newCollisionSolver (const QString &name) const |
ConstraintSolver * | newConstraintSolver (const QString &name) const |
Item * | newItem (const QString &name) const |
Object * | newObject (const QString &name) const |
Solver * | newSolver (const QString &name) const |
void | registerMetaObject (const MetaObject *metaObject) |
Protected Attributes | |
QHash< QString, const MetaObject * > | _metaObjects |
Detailed Description
List of MetaObject.
Member Function Documentation
const MetaObject * StepCore::Factory::metaObject | ( | const QString & | name | ) | const |
Find MetaObject by name.
Definition at line 33 of file factory.cc.
|
inline |
Get QHash of all registered MetaObject.
CollisionSolver * StepCore::Factory::newCollisionSolver | ( | const QString & | name | ) | const |
Create new CollisionSolver by class name.
Definition at line 59 of file factory.cc.
ConstraintSolver * StepCore::Factory::newConstraintSolver | ( | const QString & | name | ) | const |
Create new ConstraintSolver by class name.
Definition at line 66 of file factory.cc.
Item * StepCore::Factory::newItem | ( | const QString & | name | ) | const |
Create new Item by class name.
Definition at line 45 of file factory.cc.
Object * StepCore::Factory::newObject | ( | const QString & | name | ) | const |
Create new Object by class name.
Definition at line 38 of file factory.cc.
Solver * StepCore::Factory::newSolver | ( | const QString & | name | ) | const |
Create new Solver by class name.
Definition at line 52 of file factory.cc.
void StepCore::Factory::registerMetaObject | ( | const MetaObject * | metaObject | ) |
Register MetaObject.
Definition at line 28 of file factory.cc.
Member Data Documentation
|
protected |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:43:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:43:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.