| QxOrm 1.4.1 C++ Object Relational Mapping library

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories

- File List
- File Members

Classes | Namespaces | Functions
QxFactoryX.h File Reference
QxFactory : QxOrm library factory pattern used by introspection engine

List of all classes registered with QxOrm library factory pattern to create object instance dynamically using the class name. More...

`#include <boost/shared_ptr.hpp>`
`#include <QtCore/qhash.h>`
`#include <QtCore/qmutex.h>`
`#include <QxFactory/IxFactory.h>`
`#include <QxSingleton/QxSingleton.h>`

Go to the source code of this file.

## Classes
class | qx::QxFactoryX
| qx::QxFactoryX : list of all classes registered with QxOrm library factory pattern to create object instance dynamically using the class name More...
## Namespaces
namespace | qx
| Root namespace for all QxOrm library features.
## Functions
boost::any | qx::create (const QString &sKey)
| Return a smart-pointer new instance of object (qx_shared_ptr<T>) associated by key sKey using boost::any type (for example : qx::create("drug") return a new instance of smart-pointer drug class into boost::any type)
template<typename T >
T * | qx::create_nude_ptr (const QString &sKey)
| Return a nude pointer (be careful with memory leak) of type T associated by key sKey, or return NULL if sKey is not registered into factory engine.
void * | qx::create_void_ptr (const QString &sKey)
| Return a void * pointer (be careful with memory leak) associated by key sKey, or return NULL if sKey is not registered into factory engine.

## Detailed Description

List of all classes registered with QxOrm library factory pattern to create object instance dynamically using the class name.

Author:
  Lionel Marty

Definition in file QxFactoryX.h.