Qt 4.8
Public Functions | Public Variables | List of all members
QOCIBatchCleanupHandler Struct Reference

Public Functions

 QOCIBatchCleanupHandler (QVector< QOCIBatchColumn > &columns)
 
 ~QOCIBatchCleanupHandler ()
 

Public Variables

QVector< QOCIBatchColumn > & col
 

Detailed Description

Definition at line 1265 of file qsql_oci.cpp.

Constructors and Destructors

◆ QOCIBatchCleanupHandler()

QOCIBatchCleanupHandler::QOCIBatchCleanupHandler ( QVector< QOCIBatchColumn > &  columns)
inline

Definition at line 1267 of file qsql_oci.cpp.

1268  : col(columns) {}
QVector< QOCIBatchColumn > & col
Definition: qsql_oci.cpp:1280

◆ ~QOCIBatchCleanupHandler()

QOCIBatchCleanupHandler::~QOCIBatchCleanupHandler ( )
inline

Definition at line 1270 of file qsql_oci.cpp.

1271  {
1272  // deleting storage, length and indicator arrays
1273  for ( int j = 0; j < col.count(); ++j){
1274  delete[] col[j].lengths;
1275  delete[] col[j].indicators;
1276  delete[] col[j].data;
1277  }
1278  }
QVector< QOCIBatchColumn > & col
Definition: qsql_oci.cpp:1280
int count(const T &t) const
Returns the number of occurrences of value in the vector.
Definition: qvector.h:742
T * data()
Returns a pointer to the data stored in the vector.
Definition: qvector.h:152

Properties

◆ col

QVector<QOCIBatchColumn>& QOCIBatchCleanupHandler::col

Definition at line 1280 of file qsql_oci.cpp.


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