QxOrm  1.4.9
C++ Object Relational Mapping library

Concrete factory class to create object dynamically using the class name. More...

#include <QtCore/qobject.h>
#include <QxFactory/IxFactory.h>
#include <QxTraits/get_base_class.h>
#include <QxTraits/get_class_name.h>
#include <QxTraits/get_primary_key.h>
#include "../../inl/QxFactory/QxFactory.inl"

Go to the source code of this file.

Classes

class  qx::QxFactory< T >
 qx::QxFactory<T> : concrete factory class to create object of type T dynamically using the class name More...
struct  qx::QxFactory< T >::qxCreateInstance< bIsAbstract, bIsIxPersistable, bIsIxService, bIsIxParameter, bIsQObject, dummy >
struct  qx::QxFactory< T >::qxCreateInstance< true, bIsIxPersistable, bIsIxService, bIsIxParameter, bIsQObject, dummy >
struct  qx::QxFactory< T >::qxCreateInstance< false, true, false, false, bIsQObject, dummy >
struct  qx::QxFactory< T >::qxCreateInstance< false, false, true, false, bIsQObject, dummy >
struct  qx::QxFactory< T >::qxCreateInstance< false, false, false, true, bIsQObject, dummy >
struct  qx::QxFactory< T >::qxCreateInstance< false, false, false, false, true, dummy >

Namespaces

namespace  qx
 

Root namespace for all QxOrm library features.


namespace  qx::service
 

QxOrm library services engine to provide easy and powerful way to create C++ application server (to transfer data over network)


Defines

#define QX_STR_CANNOT_INSTANTIATE_ABSTRACT_CLASS   "[QxOrm] qx::QxFactory<T> ---> cannot instantiate abstract class '%s'"
#define QX_AUTO_REGISTER_REPOSITORY(className, sKey)

Detailed Description

Concrete factory class to create object dynamically using the class name.

Author:
Lionel Marty

Definition in file QxFactory.h.


Define Documentation

#define QX_AUTO_REGISTER_REPOSITORY (   className,
  sKey 
)

Definition at line 59 of file QxFactory.h.

#define QX_STR_CANNOT_INSTANTIATE_ABSTRACT_CLASS   "[QxOrm] qx::QxFactory<T> ---> cannot instantiate abstract class '%s'"

Definition at line 54 of file QxFactory.h.