QxOrm 1.4.9
C++ Object Relational Mapping library
Loading...
Searching...
No Matches

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

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)
 
- Public Member Functions inherited from qx::IxDataMemberX
IxClassgetClass () 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
 
IxDataMemberget (long l) const
 
IxDataMemberget (const QString &s) const
 
IxDataMembergetId () const
 

Protected Member Functions

 QxDataMemberX ()
 
virtual ~QxDataMemberX ()
 
- Protected Member Functions inherited from qx::IxDataMemberX
 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
 
- Protected Member Functions inherited from qx::QxSingleton< QxDataMemberX< T > >
 QxSingleton (const QString &sKey)
 
virtual ~QxSingleton ()
 
virtual void deleteInstance ()
 
- Protected Member Functions inherited from qx::IxSingleton
 IxSingleton (const QString &sKey)
 
virtual ~IxSingleton ()
 

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 > >
 

Additional Inherited Members

- Static Public Member Functions inherited from qx::QxSingleton< QxDataMemberX< T > >
static T * getSingleton ()
 
static void deleteSingleton ()
 
- Static Protected Member Functions inherited from qx::QxSingleton< QxDataMemberX< T > >
static bool isSingletonNull ()
 
- Static Protected Member Functions inherited from qx::IxSingleton
static void initQxSingletonX ()
 
- Protected Attributes inherited from qx::IxSingleton
QString m_sKeySingleton
 Singleton key used by 'QxSingletonX' container.
 

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

◆ type_base_class

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.

◆ type_primary_key

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

◆ QxDataMemberX()

template<class T >
qx::QxDataMemberX< T >::QxDataMemberX ( )
inlineprotected

Definition at line 81 of file QxDataMemberX.h.

◆ ~QxDataMemberX()

template<class T >
virtual qx::QxDataMemberX< T >::~QxDataMemberX ( )
inlineprotectedvirtual

Definition at line 82 of file QxDataMemberX.h.

Member Function Documentation

◆ add() [1/3]

template<class T >
IxDataMember * qx::QxDataMemberX< T >::add ( const QString & sKey,
long lVersion )

◆ add() [2/3]

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 )

◆ add() [3/3]

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 )

◆ count_WithDaoStrategy()

template<class T >
virtual long qx::QxDataMemberX< T >::count_WithDaoStrategy ( ) const
inlinevirtual

Implements qx::IxDataMemberX.

Definition at line 86 of file QxDataMemberX.h.

◆ count_WithDaoStrategy_Helper()

template<class T >
long qx::QxDataMemberX< T >::count_WithDaoStrategy_Helper ( ) const
inlineprivate

Definition at line 123 of file QxDataMemberX.h.

◆ exist_WithDaoStrategy()

template<class T >
virtual bool qx::QxDataMemberX< T >::exist_WithDaoStrategy ( const QString & sKey) const
inlinevirtual

Implements qx::IxDataMemberX.

Definition at line 87 of file QxDataMemberX.h.

◆ exist_WithDaoStrategy_Helper()

template<class T >
bool qx::QxDataMemberX< T >::exist_WithDaoStrategy_Helper ( const QString & sKey) const
inlineprivate

Definition at line 134 of file QxDataMemberX.h.

◆ fromArchive()

template<class T >
template<class Archive >
void qx::QxDataMemberX< T >::fromArchive ( T * pOwner,
Archive & ar,
const unsigned int file_version )
inline

◆ get_WithDaoStrategy() [1/2]

template<class T >
virtual IxDataMember * qx::QxDataMemberX< T >::get_WithDaoStrategy ( const QString & sKey) const
inlinevirtual

Implements qx::IxDataMemberX.

Definition at line 89 of file QxDataMemberX.h.

◆ get_WithDaoStrategy() [2/2]

template<class T >
virtual IxDataMember * qx::QxDataMemberX< T >::get_WithDaoStrategy ( long lIndex) const
inlinevirtual

Implements qx::IxDataMemberX.

Definition at line 88 of file QxDataMemberX.h.

◆ get_WithDaoStrategy_Helper() [1/2]

template<class T >
IxDataMember * qx::QxDataMemberX< T >::get_WithDaoStrategy_Helper ( const QString & sKey) const
inlineprivate

Definition at line 156 of file QxDataMemberX.h.

◆ get_WithDaoStrategy_Helper() [2/2]

template<class T >
IxDataMember * qx::QxDataMemberX< T >::get_WithDaoStrategy_Helper ( long lIndex) const
inlineprivate

Definition at line 145 of file QxDataMemberX.h.

◆ getBaseClass_Helper()

template<class T >
IxDataMemberX * qx::QxDataMemberX< T >::getBaseClass_Helper ( ) const
inlineprivate

Definition at line 121 of file QxDataMemberX.h.

◆ getId_WithDaoStrategy()

template<class T >
virtual IxDataMember * qx::QxDataMemberX< T >::getId_WithDaoStrategy ( ) const
inlinevirtual

Implements qx::IxDataMemberX.

Definition at line 90 of file QxDataMemberX.h.

◆ getId_WithDaoStrategy_Helper()

template<class T >
IxDataMember * qx::QxDataMemberX< T >::getId_WithDaoStrategy_Helper ( ) const
inlineprivate

Definition at line 167 of file QxDataMemberX.h.

◆ id() [1/3]

template<class T >
IxDataMember * qx::QxDataMemberX< T >::id ( const QString & sKey,
long lVersion )

◆ id() [2/3]

template<class T >
IxDataMember * qx::QxDataMemberX< T >::id ( type_primary_key T::* pDataMemberId,
const QString & sKey,
long lVersion = 0 )

◆ id() [3/3]

template<class T >
template<typename U >
IxDataMember * qx::QxDataMemberX< T >::id ( type_primary_key U::* pDataMemberId,
const QString & sKey,
long lVersion,
IxDataMember * pImpl )

◆ initData()

template<class T >
IxDataMember * qx::QxDataMemberX< T >::initData ( IxDataMember * pData,
long lVersion )
private

◆ initId()

template<class T >
IxDataMember * qx::QxDataMemberX< T >::initId ( IxDataMember * pId,
long lVersion )
private

◆ initPImpl()

template<class T >
IxDataMember * qx::QxDataMemberX< T >::initPImpl ( IxDataMember * pImpl)
private

◆ pimpl()

template<class T >
template<typename V , typename U >
IxDataMember * qx::QxDataMemberX< T >::pimpl ( V U::* pData,
const QString & sKey )

◆ relationManyToMany() [1/2]

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 )

◆ relationManyToMany() [2/2]

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 )

◆ relationManyToOne() [1/2]

template<class T >
template<typename V , typename U >
IxSqlRelation * qx::QxDataMemberX< T >::relationManyToOne ( V U::* pData,
const QString & sKey,
long lVersion,
IxDataMember * pImpl )

◆ relationManyToOne() [2/2]

template<class T >
template<typename V , typename U >
IxSqlRelation * qx::QxDataMemberX< T >::relationManyToOne ( V U::* pData,
const QString & sKey,
long lVersion = 0 )

◆ relationOneToMany() [1/2]

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 )

◆ relationOneToMany() [2/2]

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 )

◆ relationOneToOne() [1/2]

template<class T >
template<typename V , typename U >
IxSqlRelation * qx::QxDataMemberX< T >::relationOneToOne ( V U::* pData,
const QString & sKey,
long lVersion,
IxDataMember * pImpl )

◆ relationOneToOne() [2/2]

template<class T >
template<typename V , typename U >
IxSqlRelation * qx::QxDataMemberX< T >::relationOneToOne ( V U::* pData,
const QString & sKey,
long lVersion = 0 )

◆ toArchive()

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 Symbol Documentation

◆ QxSingleton< QxDataMemberX< T > >

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

Definition at line 1 of file QxDataMemberX.h.


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