QxOrm 1.4.9
C++ Object Relational Mapping library
Loading...
Searching...
No Matches

qx::QxFactory<T> : concrete factory class to create object of type T dynamically using the class name More...

#include <QxFactory.h>

Inheritance diagram for qx::QxFactory< T >:
qx::IxFactory

Classes

struct  qxCreateInstance
 
struct  qxCreateInstance< false, false, false, false, true, dummy >
 
struct  qxCreateInstance< false, false, false, true, bIsQObject, dummy >
 
struct  qxCreateInstance< false, false, true, false, bIsQObject, dummy >
 
struct  qxCreateInstance< false, true, false, false, bIsQObject, dummy >
 
struct  qxCreateInstance< true, bIsIxPersistable, bIsIxService, bIsIxParameter, bIsQObject, dummy >
 

Public Member Functions

 QxFactory (const QString &sKey)
 
virtual ~QxFactory ()
 
virtual qx::any createObject (bool bRawPointer=false) const
 
virtual void * createObjectNudePtr () const
 
virtual const std::type_info & typeInfo () const
 
- Public Member Functions inherited from qx::IxFactory
 IxFactory (const QString &sKey)
 
virtual ~IxFactory ()
 

Additional Inherited Members

- Protected Attributes inherited from qx::IxFactory
QString m_sKeyFactory
 Factory key used by the collection QxFactoryX.
 

Detailed Description

template<class T>
class qx::QxFactory< T >

qx::QxFactory<T> : concrete factory class to create object of type T dynamically using the class name

Definition at line 84 of file QxFactory.h.

Constructor & Destructor Documentation

◆ QxFactory()

template<class T >
qx::QxFactory< T >::QxFactory ( const QString & sKey)
inline

Definition at line 89 of file QxFactory.h.

◆ ~QxFactory()

template<class T >
virtual qx::QxFactory< T >::~QxFactory ( )
inlinevirtual

Definition at line 90 of file QxFactory.h.

Member Function Documentation

◆ createObject()

template<class T >
virtual qx::any qx::QxFactory< T >::createObject ( bool bRawPointer = false) const
inlinevirtual

Implements qx::IxFactory.

Definition at line 93 of file QxFactory.h.

◆ createObjectNudePtr()

template<class T >
virtual void * qx::QxFactory< T >::createObjectNudePtr ( ) const
inlinevirtual

Implements qx::IxFactory.

Definition at line 96 of file QxFactory.h.

◆ typeInfo()

template<class T >
virtual const std::type_info & qx::QxFactory< T >::typeInfo ( ) const
inlinevirtual

Implements qx::IxFactory.

Definition at line 107 of file QxFactory.h.


The documentation for this class was generated from the following file: