QxOrm
1.5.0
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) |
Protected Member Functions | |
QxDataMemberX () | |
virtual | ~QxDataMemberX () |
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 > > |
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.
qx::QxDataMemberX< T >::QxDataMemberX | ( | ) | [inline, protected] |
Definition at line 81 of file QxDataMemberX.h.
virtual qx::QxDataMemberX< T >::~QxDataMemberX | ( | ) | [inline, protected, virtual] |
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 = 0 , |
||
bool | bSerialize = true , |
||
bool | bDao = true |
||
) |
IxDataMember* qx::QxDataMemberX< T >::add | ( | V U::* | pData, |
const QString & | sKey, | ||
long | lVersion, | ||
bool | bSerialize, | ||
bool | bDao, | ||
IxDataMember * | pImpl | ||
) |
virtual long qx::QxDataMemberX< T >::count_WithDaoStrategy | ( | ) | const [inline, virtual] |
Implements qx::IxDataMemberX.
Definition at line 86 of file QxDataMemberX.h.
long qx::QxDataMemberX< T >::count_WithDaoStrategy_Helper | ( | ) | const [inline, private] |
Definition at line 123 of file QxDataMemberX.h.
virtual bool qx::QxDataMemberX< T >::exist_WithDaoStrategy | ( | const QString & | sKey | ) | const [inline, virtual] |
Implements qx::IxDataMemberX.
Definition at line 87 of file QxDataMemberX.h.
bool qx::QxDataMemberX< T >::exist_WithDaoStrategy_Helper | ( | const QString & | sKey | ) | const [inline, private] |
Definition at line 134 of file QxDataMemberX.h.
void qx::QxDataMemberX< T >::fromArchive | ( | T * | pOwner, |
Archive & | ar, | ||
const unsigned int | file_version | ||
) | [inline] |
virtual IxDataMember* qx::QxDataMemberX< T >::get_WithDaoStrategy | ( | long | lIndex | ) | const [inline, virtual] |
Implements qx::IxDataMemberX.
Definition at line 88 of file QxDataMemberX.h.
virtual IxDataMember* qx::QxDataMemberX< T >::get_WithDaoStrategy | ( | const QString & | sKey | ) | const [inline, virtual] |
Implements qx::IxDataMemberX.
Definition at line 89 of file QxDataMemberX.h.
IxDataMember* qx::QxDataMemberX< T >::get_WithDaoStrategy_Helper | ( | long | lIndex | ) | const [inline, private] |
Definition at line 145 of file QxDataMemberX.h.
IxDataMember* qx::QxDataMemberX< T >::get_WithDaoStrategy_Helper | ( | const QString & | sKey | ) | const [inline, private] |
Definition at line 156 of file QxDataMemberX.h.
IxDataMemberX* qx::QxDataMemberX< T >::getBaseClass_Helper | ( | ) | const [inline, private] |
Definition at line 121 of file QxDataMemberX.h.
virtual IxDataMember* qx::QxDataMemberX< T >::getId_WithDaoStrategy | ( | ) | const [inline, virtual] |
Implements qx::IxDataMemberX.
Definition at line 90 of file QxDataMemberX.h.
IxDataMember* qx::QxDataMemberX< T >::getId_WithDaoStrategy_Helper | ( | ) | const [inline, private] |
Definition at line 167 of file QxDataMemberX.h.
IxDataMember* qx::QxDataMemberX< T >::id | ( | type_primary_key T::* | pDataMemberId, |
const QString & | sKey, | ||
long | lVersion = 0 |
||
) |
IxDataMember* qx::QxDataMemberX< T >::id | ( | const QString & | sKey, |
long | lVersion | ||
) |
IxDataMember* qx::QxDataMemberX< T >::id | ( | type_primary_key U::* | pDataMemberId, |
const QString & | sKey, | ||
long | lVersion, | ||
IxDataMember * | pImpl | ||
) |
IxDataMember* qx::QxDataMemberX< T >::initData | ( | IxDataMember * | pData, |
long | lVersion | ||
) | [private] |
IxDataMember* qx::QxDataMemberX< T >::initId | ( | IxDataMember * | pId, |
long | lVersion | ||
) | [private] |
IxDataMember* qx::QxDataMemberX< T >::initPImpl | ( | IxDataMember * | pImpl | ) | [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 = 0 |
||
) |
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 >::relationManyToOne | ( | V U::* | pData, |
const QString & | sKey, | ||
long | lVersion = 0 |
||
) |
IxSqlRelation* qx::QxDataMemberX< T >::relationManyToOne | ( | V U::* | pData, |
const QString & | sKey, | ||
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 >::relationOneToMany | ( | V U::* | pData, |
const QString & | sKey, | ||
const QString & | sForeignKey, | ||
long | lVersion, | ||
IxDataMember * | pImpl | ||
) |
IxSqlRelation* qx::QxDataMemberX< T >::relationOneToOne | ( | V U::* | pData, |
const QString & | sKey, | ||
long | lVersion = 0 |
||
) |
IxSqlRelation* qx::QxDataMemberX< T >::relationOneToOne | ( | V U::* | pData, |
const QString & | sKey, | ||
long | lVersion, | ||
IxDataMember * | pImpl | ||
) |
void qx::QxDataMemberX< T >::toArchive | ( | const T * | pOwner, |
Archive & | ar, | ||
const unsigned int | file_version | ||
) | const [inline] |
friend class QxSingleton< QxDataMemberX< T > > [friend] |
Definition at line 72 of file QxDataMemberX.h.