QxOrm  1.4.9
C++ Object Relational Mapping library

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

#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

qx::any qx::create (const QString &sKey, bool bRawPointer)
 Return a smart-pointer new instance of object (std::shared_ptr<T>) associated by key sKey using qx::any type (for example : qx::create("drug") return a new instance of smart-pointer drug class into qx::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.