Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QDB2ResultPrivate Class Reference
+ Inheritance diagram for QDB2ResultPrivate:
+ Collaboration diagram for QDB2ResultPrivate:

Public Member Functions

 QDB2ResultPrivate (QDB2Result *q, const QDB2Driver *drv)
 
 ~QDB2ResultPrivate ()
 
void clearValueCache ()
 
void emptyValueCache ()
 
- Public Member Functions inherited from QSqlResultPrivate
 QSqlResultPrivate (QSqlResult *q, const QSqlDriver *drv)
 
virtual ~QSqlResultPrivate ()=default
 
void clearValues ()
 
void resetBindCount ()
 
void clearIndex ()
 
void clear ()
 
virtual QString fieldSerial (qsizetype) const
 
QString positionalToNamedBinding (const QString &query) const
 
QString namedToPositionalBinding (const QString &query)
 
QString holderAt (int index) const
 

Public Attributes

SQLHANDLE hStmt
 
QSqlRecord recInf
 
QList< QVariant * > valueCache
 
- Public Attributes inherited from QSqlResultPrivate
QSqlResultq_ptr = nullptr
 
QPointer< QSqlDriversqldriver
 
QString sql
 
QSqlError error
 
QString executedQuery
 
QHash< int, QSql::ParamType > types
 
QList< QVariantvalues
 
IndexMap indexes
 
QHolderVector holders
 
QSqlResult::BindingSyntax binds = QSqlResult::PositionalBinding
 
QSql::NumericalPrecisionPolicy precisionPolicy = QSql::LowPrecisionDouble
 
int idx = QSql::BeforeFirstRow
 
int bindCount = 0
 
bool active = false
 
bool isSel = false
 
bool forwardOnly = false
 
bool positionalBindingEnabled = true
 

Additional Inherited Members

- Public Types inherited from QSqlResultPrivate
using IndexMap = QHash<QString, QList<int>>
 
using QHolderVector = QList<QHolder>
 
- Static Public Member Functions inherited from QSqlResultPrivate
static bool isVariantNull (const QVariant &variant)
 

Detailed Description

Definition at line 85 of file qsql_db2.cpp.

Constructor & Destructor Documentation

◆ QDB2ResultPrivate()

QDB2ResultPrivate::QDB2ResultPrivate ( QDB2Result * q,
const QDB2Driver * drv )
inline

Definition at line 91 of file qsql_db2.cpp.

◆ ~QDB2ResultPrivate()

QDB2ResultPrivate::~QDB2ResultPrivate ( )
inline

Definition at line 95 of file qsql_db2.cpp.

References emptyValueCache().

+ Here is the call graph for this function:

Member Function Documentation

◆ clearValueCache()

void QDB2ResultPrivate::clearValueCache ( )
inline

Definition at line 99 of file qsql_db2.cpp.

References QList< T >::count(), i, and valueCache.

Referenced by emptyValueCache().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ emptyValueCache()

void QDB2ResultPrivate::emptyValueCache ( )
inline

Definition at line 106 of file qsql_db2.cpp.

References QList< T >::clear(), clearValueCache(), and valueCache.

Referenced by ~QDB2ResultPrivate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ hStmt

SQLHANDLE QDB2ResultPrivate::hStmt

Definition at line 112 of file qsql_db2.cpp.

◆ recInf

QSqlRecord QDB2ResultPrivate::recInf

Definition at line 113 of file qsql_db2.cpp.

◆ valueCache

QList<QVariant*> QDB2ResultPrivate::valueCache

Definition at line 114 of file qsql_db2.cpp.

Referenced by clearValueCache(), and emptyValueCache().


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