qx::QxDataMember_PImpl<DataType, Owner> : concrete property of type DataType registered into QxOrm context for the class Owner (using private implementation idiom)
More...
|
| QxDataMember_PImpl (type_data_member_ptr pData, const QString &sKey) |
|
virtual | ~QxDataMember_PImpl () |
|
virtual bool | isEqual (const void *pOwner1, const void *pOwner2) const Q_DECL_OVERRIDE |
|
virtual QVariant | toVariant (const void *pOwner, const QString &sFormat, int iIndexName=-1, qx::cvt::context::ctx_type ctx=qx::cvt::context::e_no_context) const Q_DECL_OVERRIDE |
|
virtual qx_bool | fromVariant (void *pOwner, const QVariant &v, const QString &sFormat, int iIndexName=-1, qx::cvt::context::ctx_type ctx=qx::cvt::context::e_no_context) Q_DECL_OVERRIDE |
|
virtual QString | getType () const Q_DECL_OVERRIDE |
|
virtual QJsonValue | toJson (const void *pOwner, const QString &sFormat) const Q_DECL_OVERRIDE |
|
virtual qx_bool | fromJson (void *pOwner, const QJsonValue &j, const QString &sFormat) Q_DECL_OVERRIDE |
|
| IxDataMember (const QString &sKey, long lVersion, bool bSerialize, bool bDao, IxDataMember *pImpl) |
|
virtual | ~IxDataMember ()=0 |
|
QString | getKey () const |
|
QString | getName () const |
|
int | getNameCount () const |
|
QString | getNameParent () const |
|
const char * | getNamePtr () const |
|
QString | getDescription () const |
|
QString | getFormat () const |
|
long | getVersion () const |
|
bool | getSerialize () const |
|
bool | getDao () const |
|
QVariant | getDefaultValue () const |
|
QVariant | getMinValue () const |
|
QVariant | getMaxValue () const |
|
int | getPrecision () const |
|
int | getMinLength () const |
|
int | getMaxLength () const |
|
bool | getRequired () const |
|
bool | getReadOnly () const |
|
bool | getAutoIncrement () const |
|
bool | getNotNull () const |
|
bool | getIsPrimaryKey () const |
|
bool | getIsIndex () const |
|
bool | getIsUnique () const |
|
IxDataMemberX * | getParent () const |
|
IxSqlRelation * | getSqlRelation () const |
|
bool | hasSqlRelation () const |
|
bool | getAccessDataPointer () const |
|
QString | getTypeParent () const |
|
IxDataMember * | getPImpl () const |
|
void | setName (const QString &s) |
|
void | setNameParent (const QString &s) |
|
void | setDescription (const QString &s) |
|
void | setFormat (const QString &s) |
|
void | setSqlType (const QString &s) |
|
void | setSqlAlias (const QString &s) |
|
void | setVersion (long l) |
|
void | setSerialize (bool b) |
|
void | setDao (bool b) |
|
void | setDefaultValue (const QVariant &v) |
|
void | setPrecision (int i) |
|
void | setRequired (bool b) |
|
void | setReadOnly (bool b) |
|
void | setAutoIncrement (bool b) |
|
void | setIsPrimaryKey (bool b) |
|
void | setIsIndex (bool b) |
|
void | setIsUnique (bool b) |
|
void | setParent (IxDataMemberX *p) |
|
void | setSqlRelation (IxSqlRelation *p) |
|
void | setAccessDataPointer (bool b) |
|
void | setMinValue (long lMinValue, const QString &sMessage=QString()) |
|
void | setMinValue (double dMinValue, const QString &sMessage=QString()) |
|
void | setMaxValue (long lMaxValue, const QString &sMessage=QString()) |
|
void | setMaxValue (double dMaxValue, const QString &sMessage=QString()) |
|
void | setMinLength (int iMinLength, const QString &sMessage=QString()) |
|
void | setMaxLength (int iMaxLength, const QString &sMessage=QString()) |
|
void | setNotNull (bool bNotNull, const QString &sMessage=QString()) |
|
bool | isThereRelationPartOfPrimaryKey (int iIndexNamePK, IxSqlRelation *&pRelation, int &iIndexNameFK) const |
|
bool | isPartOfPrimaryKey (int iIndexNameFK, IxDataMember *&pPrimaryKey, int &iIndexNamePK) const |
|
void | setRelationPartOfPrimaryKey (int iIndexNamePK, IxSqlRelation *pRelation, int iIndexNameFK) |
|
void | setPartOfPrimaryKey (int iIndexNameFK, IxDataMember *pPrimaryKey, int iIndexNamePK) |
|
QString | getName (int iIndex, const QString &sOtherName=QString()) const |
|
QString | getSqlAlias (const QString &sTable=QString(), bool bClauseWhere=false, int iIndexName=0, qx::IxSqlQueryBuilder *pSqlQueryBuilder=NULL) const |
|
QString | getSqlType (int iIndexName=-1) const |
|
QString | getSqlTypeAndParams (int iIndexName=-1) const |
|
QString | getSqlPlaceHolder (const QString &sAppend=QString(), int iIndexName=0, const QString &sSep=QString(", "), const QString &sOtherName=QString(), bool bCheckFKPartOfPK=false) const |
|
void | setSqlPlaceHolder (QSqlQuery &query, void *pOwner, const QString &sAppend=QString(), const QString &sOtherName=QString(), bool bCheckFKPartOfPK=false, qx::QxCollection< QString, QVariantList > *pLstExecBatch=NULL) const |
|
QString | getSqlAliasEqualToPlaceHolder (const QString &sTable=QString(), bool bClauseWhere=false, const QString &sAppend=QString(), const QString &sSep=QString(" AND "), bool bCheckFKPartOfPK=false, qx::IxSqlQueryBuilder *pSqlQueryBuilder=NULL) const |
|
QString | getSqlNameEqualToPlaceHolder (const QString &sAppend=QString(), const QString &sSep=QString(" AND "), bool bCheckFKPartOfPK=false, qx::IxSqlQueryBuilder *pSqlQueryBuilder=NULL) const |
|
QString | getSqlTablePointNameAsAlias (const QString &sTable, const QString &sSep=QString(", "), const QString &sSuffixAlias=QString(), bool bCheckFKPartOfPK=false, const QString &sCustomAlias=QString(), qx::IxSqlQueryBuilder *pSqlQueryBuilder=NULL) const |
|
QString | getSqlName (const QString &sSep=QString(", "), const QString &sOtherName=QString(), bool bCheckFKPartOfPK=false, qx::IxSqlQueryBuilder *pSqlQueryBuilder=NULL) const |
|
QString | getSqlNameAndTypeAndParams (const QString &sSep=QString(", "), const QString &sOtherName=QString(), bool bCheckFKPartOfPK=false) const |
|
void | customGetSqlName (type_fct_sql_callback fct) |
|
void | customGetSqlTablePointNameAsAlias (type_fct_sql_callback fct) |
|
void | customGetSqlNameEqualToPlaceHolder (type_fct_sql_callback fct) |
|
void | customGetSqlAliasEqualToPlaceHolder (type_fct_sql_callback fct) |
|
void | customGetSqlAlias (type_fct_sql_callback fct) |
|
QVariant | toVariant (const void *pOwner, int iIndexName=-1, qx::cvt::context::ctx_type ctx=qx::cvt::context::e_no_context) const |
|
qx_bool | fromVariant (void *pOwner, const QVariant &v, int iIndexName=-1, qx::cvt::context::ctx_type ctx=qx::cvt::context::e_no_context) |
|
QJsonValue | toJson (const void *pOwner) const |
|
qx_bool | fromJson (void *pOwner, const QJsonValue &j) |
|
qx::any | getValueAnyPtr (const void *pOwner) const |
|
qx::any | getValueAnyPtr (void *pOwner) |
|
void * | getValueVoidPtr (const void *pOwner) const |
|
void * | getValueVoidPtr (void *pOwner) |
|
template<typename T > |
T * | getValuePtr (void *pOwner, bool *bOk=NULL) |
|
template<typename T > |
T | getValue (void *pOwner, bool *bOk=NULL) |
|
template<typename T > |
bool | setValue (void *pOwner, const T &val) |
|
| QxPropertyBag () |
|
virtual | ~QxPropertyBag () |
|
void | setPropertyBag (const QString &key, const QVariant &value) |
|
QVariant | getPropertyBag (const QString &key) const |
|
void | removePropertyBag (const QString &key) |
|
void | clearPropertyBag () |
|
long | countPropertyBag () const |
|
QList< QString > | getAllPropertyBagKeys () const |
|
template<typename DataType, class Owner>
class qx::QxDataMember_PImpl< DataType, Owner >
qx::QxDataMember_PImpl<DataType, Owner> : concrete property of type DataType registered into QxOrm context for the class Owner (using private implementation idiom)
Definition at line 59 of file QxDataMember_PImpl.h.