![]() |
QxOrm
1.3.2
C++ Object Relational Mapping library
|
qx::IxClass : common interface for all classes registered into QxOrm context More...
#include <IxClass.h>
Public Member Functions | |
QString | getKey () const |
QString | getName () const |
const char * | getNamePtr () const |
QString | getDescription () const |
long | getVersion () const |
qx::dao::strategy::inheritance | getDaoStrategy () const |
qx::QxSoftDelete | getSoftDelete () const |
bool | isFinalClass () const |
bool | isDaoReadOnly () const |
bool | isRegistered () const |
IxDataMemberX * | getDataMemberX () const |
IxFunctionX * | getFctMemberX () const |
IxFunctionX * | getFctStaticX () const |
IxDataMember * | getId () const |
void | setName (const QString &sName) |
void | setDescription (const QString &sDesc) |
void | setDaoStrategy (qx::dao::strategy::inheritance eDaoStrategy) |
void | setSoftDelete (const qx::QxSoftDelete &oSoftDelete) |
void | setDaoReadOnly (bool bDaoReadOnly) |
virtual bool | isAbstract () const =0 |
virtual bool | implementIxPersistable () const =0 |
virtual const std::type_info & | typeInfo () const =0 |
virtual IxClass * | getBaseClass () const =0 |
virtual IxValidatorX * | getAllValidator () |
bool | isKindOf (const QString &sClassName) const |
bool | isKindOf (const std::type_info &typeInfo) const |
QString | dumpClass () const |
Protected Member Functions | |
IxClass () | |
virtual | ~IxClass ()=0 |
void | updateClassX () |
Protected Attributes | |
IxDataMemberX * | m_pDataMemberX |
List of data member. | |
IxFunctionX_ptr | m_pFctMemberX |
List of function member. | |
IxFunctionX_ptr | m_pFctStaticX |
List of function static. | |
QString | m_sKey |
'IxClass' key <=> class name | |
QString | m_sName |
'IxClass' name <=> database table name (if empty => class name) | |
QString | m_sDescription |
'IxClass' description | |
long | m_lVersion |
'IxClass' version | |
bool | m_bFinalClass |
Class without base class (for example, qx::trait::no_base_class_defined and QObject) | |
bool | m_bDaoReadOnly |
If 'true', cannot INSERT, UPDATE OR DELETE an instance of this class using qx::dao namespace. | |
bool | m_bRegistered |
Class registered into QxOrm context. | |
qx::dao::strategy::inheritance | m_eDaoStrategy |
Dao class strategy to access data member. | |
qx::QxSoftDelete | m_oSoftDelete |
Soft delete (or logical delete) behavior. | |
IxValidatorX_ptr | m_pAllValidator |
List of validator associated to the class. | |
QByteArray | m_byteName |
Optimization to retrieve name under "const char *" format. | |
const char * | m_pName |
Optimization to retrieve name under "const char *" format. | |
Private Member Functions | |
void | updateNamePtr () |
qx::IxClass : common interface for all classes registered into QxOrm context
virtual qx::IxClass::~IxClass | ( | ) | [protected, pure virtual] |
QString qx::IxClass::dumpClass | ( | ) | const |
virtual IxValidatorX* qx::IxClass::getAllValidator | ( | ) | [virtual] |
Reimplemented in qx::QxClass< T >.
virtual IxClass* qx::IxClass::getBaseClass | ( | ) | const [pure virtual] |
Implemented in qx::QxClass< T >.
qx::dao::strategy::inheritance qx::IxClass::getDaoStrategy | ( | ) | const [inline] |
IxDataMemberX* qx::IxClass::getDataMemberX | ( | ) | const [inline] |
IxFunctionX* qx::IxClass::getFctMemberX | ( | ) | const [inline] |
IxFunctionX* qx::IxClass::getFctStaticX | ( | ) | const [inline] |
IxDataMember* qx::IxClass::getId | ( | ) | const [inline] |
qx::QxSoftDelete qx::IxClass::getSoftDelete | ( | ) | const [inline] |
virtual bool qx::IxClass::implementIxPersistable | ( | ) | const [pure virtual] |
Implemented in qx::QxClass< T >.
virtual bool qx::IxClass::isAbstract | ( | ) | const [pure virtual] |
Implemented in qx::QxClass< T >.
bool qx::IxClass::isKindOf | ( | const QString & | sClassName | ) | const |
bool qx::IxClass::isKindOf | ( | const std::type_info & | typeInfo | ) | const |
void qx::IxClass::setDaoReadOnly | ( | bool | bDaoReadOnly | ) | [inline] |
void qx::IxClass::setDaoStrategy | ( | qx::dao::strategy::inheritance | eDaoStrategy | ) | [inline] |
void qx::IxClass::setDescription | ( | const QString & | sDesc | ) | [inline] |
void qx::IxClass::setName | ( | const QString & | sName | ) | [inline] |
void qx::IxClass::setSoftDelete | ( | const qx::QxSoftDelete & | oSoftDelete | ) | [inline] |
virtual const std::type_info& qx::IxClass::typeInfo | ( | ) | const [pure virtual] |
Implemented in qx::QxClass< T >.
void qx::IxClass::updateClassX | ( | ) | [protected] |
bool qx::IxClass::m_bDaoReadOnly [protected] |
bool qx::IxClass::m_bFinalClass [protected] |
Class without base class (for example, qx::trait::no_base_class_defined and QObject)
bool qx::IxClass::m_bRegistered [protected] |
QByteArray qx::IxClass::m_byteName [protected] |
long qx::IxClass::m_lVersion [protected] |
qx::QxSoftDelete qx::IxClass::m_oSoftDelete [protected] |
IxValidatorX_ptr qx::IxClass::m_pAllValidator [protected] |
IxDataMemberX* qx::IxClass::m_pDataMemberX [protected] |
IxFunctionX_ptr qx::IxClass::m_pFctMemberX [protected] |
IxFunctionX_ptr qx::IxClass::m_pFctStaticX [protected] |
const char* qx::IxClass::m_pName [protected] |
QString qx::IxClass::m_sDescription [protected] |
QString qx::IxClass::m_sKey [protected] |
QString qx::IxClass::m_sName [protected] |