![]() |
QxOrm 1.4.9
C++ Object Relational Mapping library
|
Repository to provide a common interface to communicate with database. More...
#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. | |
Macros | |
| #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) |
| #define | QX_REPOSITORY_CAST_COLLECTION |
Functions | |
| template<class T > | |
| void | qx::register_repository (const QString &sKey) |
Repository to provide a common interface to communicate with database.
Definition in file QxRepository.h.
| #define QX_REPOSITORY_CAST_COLLECTION |
Definition at line 64 of file QxRepository.h.
| #define QX_REPOSITORY_COLLECTION_DYNAMIC_CAST_ERROR QSqlError("[QxOrm] qx::QxRepository<T> : 'invalid collection pointer, dynamic_cast failed'", "", QSqlError::UnknownError) |
Definition at line 59 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 60 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 61 of file QxRepository.h.