![]() |
QxOrm 1.4.9
C++ Object Relational Mapping library
|
qx::QxDataMemberX<T> : concrete list of properties registered into QxOrm context for the class T More...
#include <QxDataMemberX.h>
Public Types | |
typedef qx::trait::get_primary_key< T >::type | type_primary_key |
typedef qx::trait::get_base_class< T >::type | type_base_class |
Public Member Functions | |
virtual long | count_WithDaoStrategy () const |
virtual bool | exist_WithDaoStrategy (const QString &sKey) const |
virtual IxDataMember * | get_WithDaoStrategy (long lIndex) const |
virtual IxDataMember * | get_WithDaoStrategy (const QString &sKey) const |
virtual IxDataMember * | getId_WithDaoStrategy () const |
IxDataMember * | id (type_primary_key T::*pDataMemberId, const QString &sKey, long lVersion=0) |
IxDataMember * | id (const QString &sKey, long lVersion) |
IxDataMember * | add (const QString &sKey, long lVersion) |
template<typename V , typename U > | |
IxDataMember * | add (V U::*pData, const QString &sKey, long lVersion=0, bool bSerialize=true, bool bDao=true) |
template<typename V , typename U > | |
IxSqlRelation * | relationOneToOne (V U::*pData, const QString &sKey, long lVersion=0) |
template<typename V , typename U > | |
IxSqlRelation * | relationManyToOne (V U::*pData, const QString &sKey, long lVersion=0) |
template<typename V , typename U > | |
IxSqlRelation * | relationOneToMany (V U::*pData, const QString &sKey, const QString &sForeignKey, long lVersion=0) |
template<typename V , typename U > | |
IxSqlRelation * | relationManyToMany (V U::*pData, const QString &sKey, const QString &sExtraTable, const QString &sForeignKeyOwner, const QString &sForeignKeyDataType, long lVersion=0) |
template<typename V , typename U > | |
IxDataMember * | pimpl (V U::*pData, const QString &sKey) |
template<typename U > | |
IxDataMember * | id (type_primary_key U::*pDataMemberId, const QString &sKey, long lVersion, IxDataMember *pImpl) |
template<typename V , typename U > | |
IxDataMember * | add (V U::*pData, const QString &sKey, long lVersion, bool bSerialize, bool bDao, IxDataMember *pImpl) |
template<typename V , typename U > | |
IxSqlRelation * | relationOneToOne (V U::*pData, const QString &sKey, long lVersion, IxDataMember *pImpl) |
template<typename V , typename U > | |
IxSqlRelation * | relationManyToOne (V U::*pData, const QString &sKey, long lVersion, IxDataMember *pImpl) |
template<typename V , typename U > | |
IxSqlRelation * | relationOneToMany (V U::*pData, const QString &sKey, const QString &sForeignKey, long lVersion, IxDataMember *pImpl) |
template<typename V , typename U > | |
IxSqlRelation * | relationManyToMany (V U::*pData, const QString &sKey, const QString &sExtraTable, const QString &sForeignKeyOwner, const QString &sForeignKeyDataType, long lVersion, IxDataMember *pImpl) |
template<class Archive > | |
void | toArchive (const T *pOwner, Archive &ar, const unsigned int file_version) const |
template<class Archive > | |
void | fromArchive (T *pOwner, Archive &ar, const unsigned int file_version) |
![]() | |
IxClass * | getClass () const |
void | setClass (IxClass *p) |
QString | getName () const |
const char * | getNamePtr () const |
QString | getDescription () const |
long | getVersion () const |
qx::dao::strategy::inheritance | getDaoStrategy () const |
long | count () const |
long | size () const |
bool | exist (const QString &sKey) const |
IxDataMember * | get (long l) const |
IxDataMember * | get (const QString &s) const |
IxDataMember * | getId () const |
Protected Member Functions | |
QxDataMemberX () | |
virtual | ~QxDataMemberX () |
![]() | |
IxDataMemberX () | |
virtual | ~IxDataMemberX () |
void | setId (IxDataMember *p) |
QxCollection< QString, IxDataMember * > & | getListDataMemberRef () |
const QxCollection< QString, IxDataMember * > & | getListDataMemberRef () const |
QxCollection< QString, IxDataMember * > & | getListPImplRef () |
const QxCollection< QString, IxDataMember * > & | getListPImplRef () const |
![]() | |
QxSingleton (const QString &sKey) | |
virtual | ~QxSingleton () |
virtual void | deleteInstance () |
![]() | |
IxSingleton (const QString &sKey) | |
virtual | ~IxSingleton () |
Private Member Functions | |
IxDataMember * | initId (IxDataMember *pId, long lVersion) |
IxDataMember * | initData (IxDataMember *pData, long lVersion) |
IxDataMember * | initPImpl (IxDataMember *pImpl) |
IxDataMemberX * | getBaseClass_Helper () const |
long | count_WithDaoStrategy_Helper () const |
bool | exist_WithDaoStrategy_Helper (const QString &sKey) const |
IxDataMember * | get_WithDaoStrategy_Helper (long lIndex) const |
IxDataMember * | get_WithDaoStrategy_Helper (const QString &sKey) const |
IxDataMember * | getId_WithDaoStrategy_Helper () const |
Friends | |
class | QxSingleton< QxDataMemberX< T > > |
Additional Inherited Members | |
![]() | |
static T * | getSingleton () |
static void | deleteSingleton () |
![]() | |
static bool | isSingletonNull () |
![]() | |
static void | initQxSingletonX () |
![]() | |
QString | m_sKeySingleton |
Singleton key used by 'QxSingletonX' container. | |
qx::QxDataMemberX<T> : concrete list of properties registered into QxOrm context for the class T
Definition at line 69 of file QxDataMemberX.h.
typedef qx::trait::get_base_class<T>::type qx::QxDataMemberX< T >::type_base_class |
Definition at line 77 of file QxDataMemberX.h.
typedef qx::trait::get_primary_key<T>::type qx::QxDataMemberX< T >::type_primary_key |
Definition at line 76 of file QxDataMemberX.h.
|
inlineprotected |
Definition at line 81 of file QxDataMemberX.h.
|
inlineprotectedvirtual |
Definition at line 82 of file QxDataMemberX.h.
IxDataMember * qx::QxDataMemberX< T >::add | ( | const QString & | sKey, |
long | lVersion ) |
IxDataMember * qx::QxDataMemberX< T >::add | ( | V U::* | pData, |
const QString & | sKey, | ||
long | lVersion, | ||
bool | bSerialize, | ||
bool | bDao, | ||
IxDataMember * | pImpl ) |
IxDataMember * qx::QxDataMemberX< T >::add | ( | V U::* | pData, |
const QString & | sKey, | ||
long | lVersion = 0, | ||
bool | bSerialize = true, | ||
bool | bDao = true ) |
|
inlinevirtual |
Implements qx::IxDataMemberX.
Definition at line 86 of file QxDataMemberX.h.
|
inlineprivate |
Definition at line 123 of file QxDataMemberX.h.
|
inlinevirtual |
Implements qx::IxDataMemberX.
Definition at line 87 of file QxDataMemberX.h.
|
inlineprivate |
Definition at line 134 of file QxDataMemberX.h.
|
inline |
|
inlinevirtual |
Implements qx::IxDataMemberX.
Definition at line 89 of file QxDataMemberX.h.
|
inlinevirtual |
Implements qx::IxDataMemberX.
Definition at line 88 of file QxDataMemberX.h.
|
inlineprivate |
Definition at line 156 of file QxDataMemberX.h.
|
inlineprivate |
Definition at line 145 of file QxDataMemberX.h.
|
inlineprivate |
Definition at line 121 of file QxDataMemberX.h.
|
inlinevirtual |
Implements qx::IxDataMemberX.
Definition at line 90 of file QxDataMemberX.h.
|
inlineprivate |
Definition at line 167 of file QxDataMemberX.h.
IxDataMember * qx::QxDataMemberX< T >::id | ( | const QString & | sKey, |
long | lVersion ) |
IxDataMember * qx::QxDataMemberX< T >::id | ( | type_primary_key T::* | pDataMemberId, |
const QString & | sKey, | ||
long | lVersion = 0 ) |
IxDataMember * qx::QxDataMemberX< T >::id | ( | type_primary_key U::* | pDataMemberId, |
const QString & | sKey, | ||
long | lVersion, | ||
IxDataMember * | pImpl ) |
|
private |
|
private |
|
private |
IxDataMember * qx::QxDataMemberX< T >::pimpl | ( | V U::* | pData, |
const QString & | sKey ) |
IxSqlRelation * qx::QxDataMemberX< T >::relationManyToMany | ( | V U::* | pData, |
const QString & | sKey, | ||
const QString & | sExtraTable, | ||
const QString & | sForeignKeyOwner, | ||
const QString & | sForeignKeyDataType, | ||
long | lVersion, | ||
IxDataMember * | pImpl ) |
IxSqlRelation * qx::QxDataMemberX< T >::relationManyToMany | ( | V U::* | pData, |
const QString & | sKey, | ||
const QString & | sExtraTable, | ||
const QString & | sForeignKeyOwner, | ||
const QString & | sForeignKeyDataType, | ||
long | lVersion = 0 ) |
IxSqlRelation * qx::QxDataMemberX< T >::relationManyToOne | ( | V U::* | pData, |
const QString & | sKey, | ||
long | lVersion, | ||
IxDataMember * | pImpl ) |
IxSqlRelation * qx::QxDataMemberX< T >::relationManyToOne | ( | V U::* | pData, |
const QString & | sKey, | ||
long | lVersion = 0 ) |
IxSqlRelation * qx::QxDataMemberX< T >::relationOneToMany | ( | V U::* | pData, |
const QString & | sKey, | ||
const QString & | sForeignKey, | ||
long | lVersion, | ||
IxDataMember * | pImpl ) |
IxSqlRelation * qx::QxDataMemberX< T >::relationOneToMany | ( | V U::* | pData, |
const QString & | sKey, | ||
const QString & | sForeignKey, | ||
long | lVersion = 0 ) |
IxSqlRelation * qx::QxDataMemberX< T >::relationOneToOne | ( | V U::* | pData, |
const QString & | sKey, | ||
long | lVersion, | ||
IxDataMember * | pImpl ) |
IxSqlRelation * qx::QxDataMemberX< T >::relationOneToOne | ( | V U::* | pData, |
const QString & | sKey, | ||
long | lVersion = 0 ) |
|
inline |
|
friend |
Definition at line 1 of file QxDataMemberX.h.