| QxOrm 1.2.6 C++ Object Relational Mapping library

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

- File List
- File Members

Classes | Namespaces | Defines | Functions
QxRepository.h File Reference
QxDao : QxOrm library database communication used by persistence engine (ORM - Object Relational Mapping)

Repository to provide a common interface to communicate with database. More...

`#include <boost/type_traits/is_base_of.hpp>`
`#include <QxDao/QxRepository/IxRepository.h>`
`#include <QxDao/QxRepository/QxRepositoryX.h>`
`#include <QxDao/QxDao.h>`
`#include <QxDao/QxSession.h>`
`#include <QxDao/QxSqlError.h>`
`#include <QxRegister/QxClass.h>`
`#include <QxCollection/QxCollection.h>`
`#include <QxTraits/get_primary_key.h>`

Go to the source code of this file.

## Classes
class | qx::QxRepository< T >
| qx::QxRepository<T> : repository to provide a common interface to communicate with database More...
struct | qx::QxRepository< T >::qxVerifyPointer< bIsQObject, dummy >
struct | qx::QxRepository< T >::qxVerifyPointer< true, dummy >
## Namespaces
namespace | qx
| Root namespace for all QxOrm library features.
## Defines
#define | QX_REPOSITORY_COLLECTION_DYNAMIC_CAST_ERROR QSqlError("[QxOrm] qx::QxRepository<T> : 'invalid collection pointer, dynamic_cast failed'", "", QSqlError::UnknownError)
#define | QX_REPOSITORY_POINTER_DYNAMIC_CAST_ERROR QSqlError("[QxOrm] qx::QxRepository<T> : 'invalid pointer, dynamic_cast failed'", "", QSqlError::UnknownError)
#define | QX_REPOSITORY_QOBJECT_BASE_CLASS_ERROR QSqlError("[QxOrm] qx::QxRepository<T> : 'invalid pointer, need to inherit from QObject class to use qx::IxRepository interface'", "", QSqlError::UnknownError)
## Functions
template<class T >
void | qx::register_repository (const QString &sKey)

## Detailed Description

Repository to provide a common interface to communicate with database.

Author:
  Lionel Marty

Definition in file QxRepository.h.

## Define Documentation

#define QX_REPOSITORY_COLLECTION_DYNAMIC_CAST_ERROR QSqlError("[QxOrm] qx::QxRepository<T> : 'invalid collection pointer, dynamic_cast failed'", "", QSqlError::UnknownError)

Definition at line 61 of file QxRepository.h.

#define QX_REPOSITORY_POINTER_DYNAMIC_CAST_ERROR QSqlError("[QxOrm] qx::QxRepository<T> : 'invalid pointer, dynamic_cast failed'", "", QSqlError::UnknownError)

Definition at line 62 of file QxRepository.h.

#define QX_REPOSITORY_QOBJECT_BASE_CLASS_ERROR QSqlError("[QxOrm] qx::QxRepository<T> : 'invalid pointer, need to inherit from QObject class to use qx::IxRepository interface'", "", QSqlError::UnknownError)

Definition at line 63 of file QxRepository.h.