| QxOrm 1.2.2 C++ Object Relational Mapping library

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

- File List
- File Members

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

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

`#include <boost/shared_ptr.hpp>`
`#include <boost/static_assert.hpp>`
`#include <boost/type_traits/is_abstract.hpp>`
`#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 55 of file QxFactory.h.

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

Definition at line 50 of file QxFactory.h.