QxOrm  1.4.5
C++ Object Relational Mapping library

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

#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, dummy >
struct  qx::QxFactory< T >::qxCreateInstance< true, dummy >

Namespaces

namespace  qx
 

Root namespace for all QxOrm library features.


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 57 of file QxFactory.h.

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

Definition at line 52 of file QxFactory.h.