32#ifndef _QX_REPOSITORY_X_H_
33#define _QX_REPOSITORY_X_H_
46#include <QtCore/qhash.h>
47#include <QtCore/qmutex.h>
Common interface for all repositories to provide access to database by introspection using QObject cl...
#define QX_DLL_EXPORT_QX_SINGLETON_HPP(x)
Concrete class to define a thread-safe singleton of QxOrm library.
qx::QxRepositoryX : list of all repositories registered using qx::register_repository<T> function
bool m_bUnregisterAllRepository
Flag to know if collection is clearing.
QHash< QString, IxRepository * > m_mapRepositoryX
Collection of all 'IxRepository' pointer.
void unregisterRepository(const QString &sKey)
void unregisterAllRepository()
static IxRepository * get(const QString &sKey)
QMutex m_oMutexRepositoryX
Mutex -> 'QxRepositoryX' is thread-safe.
void registerRepository(const QString &sKey, IxRepository *pRepository)
friend class IxRepository
QxSingleton(const QString &sKey)
Root namespace for all QxOrm library features.