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>

Inheritance diagram for qx::QxDataMemberX< T >:
qx::IxDataMemberX qx::QxSingleton< QxDataMemberX< T > > qx::IxSingleton

List of all members.

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 IxDataMemberget_WithDaoStrategy (long lIndex) const
virtual IxDataMemberget_WithDaoStrategy (const QString &sKey) const
virtual IxDataMembergetId_WithDaoStrategy () const
IxDataMemberid (type_primary_key T::*pDataMemberId, const QString &sKey, long lVersion=0)
IxDataMemberid (const QString &sKey, long lVersion)
IxDataMemberadd (const QString &sKey, long lVersion)
template<typename V , typename U >
IxDataMemberadd (V U::*pData, const QString &sKey, long lVersion=0, bool bSerialize=true, bool bDao=true)
template<typename V , typename U >
IxSqlRelationrelationOneToOne (V U::*pData, const QString &sKey, long lVersion=0)
template<typename V , typename U >
IxSqlRelationrelationManyToOne (V U::*pData, const QString &sKey, long lVersion=0)
template<typename V , typename U >
IxSqlRelationrelationOneToMany (V U::*pData, const QString &sKey, const QString &sForeignKey, long lVersion=0)
template<typename V , typename U >
IxSqlRelationrelationManyToMany (V U::*pData, const QString &sKey, const QString &sExtraTable, const QString &sForeignKeyOwner, const QString &sForeignKeyDataType, long lVersion=0)
template<typename V , typename U >
IxDataMemberpimpl (V U::*pData, const QString &sKey)
template<typename U >
IxDataMemberid (type_primary_key U::*pDataMemberId, const QString &sKey, long lVersion, IxDataMember *pImpl)
template<typename V , typename U >
IxDataMemberadd (V U::*pData, const QString &sKey, long lVersion, bool bSerialize, bool bDao, IxDataMember *pImpl)
template<typename V , typename U >
IxSqlRelationrelationOneToOne (V U::*pData, const QString &sKey, long lVersion, IxDataMember *pImpl)
template<typename V , typename U >
IxSqlRelationrelationManyToOne (V U::*pData, const QString &sKey, long lVersion, IxDataMember *pImpl)
template<typename V , typename U >
IxSqlRelationrelationOneToMany (V U::*pData, const QString &sKey, const QString &sForeignKey, long lVersion, IxDataMember *pImpl)
template<typename V , typename U >
IxSqlRelationrelationManyToMany (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

IxDataMemberinitId (IxDataMember *pId, long lVersion)
IxDataMemberinitData (IxDataMember *pData, long lVersion)
IxDataMemberinitPImpl (IxDataMember *pImpl)
IxDataMemberXgetBaseClass_Helper () const
long count_WithDaoStrategy_Helper () const
bool exist_WithDaoStrategy_Helper (const QString &sKey) const
IxDataMemberget_WithDaoStrategy_Helper (long lIndex) const
IxDataMemberget_WithDaoStrategy_Helper (const QString &sKey) const
IxDataMembergetId_WithDaoStrategy_Helper () const

Friends

class QxSingleton< QxDataMemberX< T > >

Detailed Description

template<class T>
class qx::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.


Member Typedef Documentation

template<class T >
typedef qx::trait::get_base_class<T>::type qx::QxDataMemberX< T >::type_base_class

Definition at line 77 of file QxDataMemberX.h.

template<class T >
typedef qx::trait::get_primary_key<T>::type qx::QxDataMemberX< T >::type_primary_key

Definition at line 76 of file QxDataMemberX.h.


Constructor & Destructor Documentation

template<class T >
qx::QxDataMemberX< T >::QxDataMemberX ( ) [inline, protected]

Definition at line 81 of file QxDataMemberX.h.

template<class T >
virtual qx::QxDataMemberX< T >::~QxDataMemberX ( ) [inline, protected, virtual]

Definition at line 82 of file QxDataMemberX.h.


Member Function Documentation

template<class T >
IxDataMember* qx::QxDataMemberX< T >::add ( const QString &  sKey,
long  lVersion 
)
template<class T >
template<typename V , typename U >
IxDataMember* qx::QxDataMemberX< T >::add ( V U::*  pData,
const QString &  sKey,
long  lVersion = 0,
bool  bSerialize = true,
bool  bDao = true 
)
template<class T >
template<typename V , typename U >
IxDataMember* qx::QxDataMemberX< T >::add ( V U::*  pData,
const QString &  sKey,
long  lVersion,
bool  bSerialize,
bool  bDao,
IxDataMember pImpl 
)
template<class T >
virtual long qx::QxDataMemberX< T >::count_WithDaoStrategy ( ) const [inline, virtual]

Implements qx::IxDataMemberX.

Definition at line 86 of file QxDataMemberX.h.

template<class T >
long qx::QxDataMemberX< T >::count_WithDaoStrategy_Helper ( ) const [inline, private]

Definition at line 123 of file QxDataMemberX.h.

template<class T >
virtual bool qx::QxDataMemberX< T >::exist_WithDaoStrategy ( const QString &  sKey) const [inline, virtual]

Implements qx::IxDataMemberX.

Definition at line 87 of file QxDataMemberX.h.

template<class T >
bool qx::QxDataMemberX< T >::exist_WithDaoStrategy_Helper ( const QString &  sKey) const [inline, private]

Definition at line 134 of file QxDataMemberX.h.

template<class T >
template<class Archive >
void qx::QxDataMemberX< T >::fromArchive ( T *  pOwner,
Archive &  ar,
const unsigned int  file_version 
) [inline]
template<class T >
virtual IxDataMember* qx::QxDataMemberX< T >::get_WithDaoStrategy ( long  lIndex) const [inline, virtual]

Implements qx::IxDataMemberX.

Definition at line 88 of file QxDataMemberX.h.

template<class T >
virtual IxDataMember* qx::QxDataMemberX< T >::get_WithDaoStrategy ( const QString &  sKey) const [inline, virtual]

Implements qx::IxDataMemberX.

Definition at line 89 of file QxDataMemberX.h.

template<class T >
IxDataMember* qx::QxDataMemberX< T >::get_WithDaoStrategy_Helper ( long  lIndex) const [inline, private]

Definition at line 145 of file QxDataMemberX.h.

template<class T >
IxDataMember* qx::QxDataMemberX< T >::get_WithDaoStrategy_Helper ( const QString &  sKey) const [inline, private]

Definition at line 156 of file QxDataMemberX.h.

template<class T >
IxDataMemberX* qx::QxDataMemberX< T >::getBaseClass_Helper ( ) const [inline, private]

Definition at line 121 of file QxDataMemberX.h.

template<class T >
virtual IxDataMember* qx::QxDataMemberX< T >::getId_WithDaoStrategy ( ) const [inline, virtual]

Implements qx::IxDataMemberX.

Definition at line 90 of file QxDataMemberX.h.

template<class T >
IxDataMember* qx::QxDataMemberX< T >::getId_WithDaoStrategy_Helper ( ) const [inline, private]

Definition at line 167 of file QxDataMemberX.h.

template<class T >
IxDataMember* qx::QxDataMemberX< T >::id ( type_primary_key T::*  pDataMemberId,
const QString &  sKey,
long  lVersion = 0 
)
template<class T >
IxDataMember* qx::QxDataMemberX< T >::id ( const QString &  sKey,
long  lVersion 
)
template<class T >
template<typename U >
IxDataMember* qx::QxDataMemberX< T >::id ( type_primary_key U::*  pDataMemberId,
const QString &  sKey,
long  lVersion,
IxDataMember pImpl 
)
template<class T >
IxDataMember* qx::QxDataMemberX< T >::initData ( IxDataMember pData,
long  lVersion 
) [private]
template<class T >
IxDataMember* qx::QxDataMemberX< T >::initId ( IxDataMember pId,
long  lVersion 
) [private]
template<class T >
IxDataMember* qx::QxDataMemberX< T >::initPImpl ( IxDataMember pImpl) [private]
template<class T >
template<typename V , typename U >
IxDataMember* qx::QxDataMemberX< T >::pimpl ( V U::*  pData,
const QString &  sKey 
)
template<class T >
template<typename V , typename U >
IxSqlRelation* qx::QxDataMemberX< T >::relationManyToMany ( V U::*  pData,
const QString &  sKey,
const QString &  sExtraTable,
const QString &  sForeignKeyOwner,
const QString &  sForeignKeyDataType,
long  lVersion = 0 
)
template<class T >
template<typename V , typename U >
IxSqlRelation* qx::QxDataMemberX< T >::relationManyToMany ( V U::*  pData,
const QString &  sKey,
const QString &  sExtraTable,
const QString &  sForeignKeyOwner,
const QString &  sForeignKeyDataType,
long  lVersion,
IxDataMember pImpl 
)
template<class T >
template<typename V , typename U >
IxSqlRelation* qx::QxDataMemberX< T >::relationManyToOne ( V U::*  pData,
const QString &  sKey,
long  lVersion = 0 
)
template<class T >
template<typename V , typename U >
IxSqlRelation* qx::QxDataMemberX< T >::relationManyToOne ( V U::*  pData,
const QString &  sKey,
long  lVersion,
IxDataMember pImpl 
)
template<class T >
template<typename V , typename U >
IxSqlRelation* qx::QxDataMemberX< T >::relationOneToMany ( V U::*  pData,
const QString &  sKey,
const QString &  sForeignKey,
long  lVersion = 0 
)
template<class T >
template<typename V , typename U >
IxSqlRelation* qx::QxDataMemberX< T >::relationOneToMany ( V U::*  pData,
const QString &  sKey,
const QString &  sForeignKey,
long  lVersion,
IxDataMember pImpl 
)
template<class T >
template<typename V , typename U >
IxSqlRelation* qx::QxDataMemberX< T >::relationOneToOne ( V U::*  pData,
const QString &  sKey,
long  lVersion = 0 
)
template<class T >
template<typename V , typename U >
IxSqlRelation* qx::QxDataMemberX< T >::relationOneToOne ( V U::*  pData,
const QString &  sKey,
long  lVersion,
IxDataMember pImpl 
)
template<class T >
template<class Archive >
void qx::QxDataMemberX< T >::toArchive ( const T *  pOwner,
Archive &  ar,
const unsigned int  file_version 
) const [inline]

Friends And Related Function Documentation

template<class T >
friend class QxSingleton< QxDataMemberX< T > > [friend]

Definition at line 72 of file QxDataMemberX.h.


The documentation for this class was generated from the following file: