Qt 4.8
Public Functions | Public Variables | Private Functions | List of all members
QOCIRowId Class Reference
Inheritance diagram for QOCIRowId:
QSharedData

Public Functions

 QOCIRowId (OCIEnv *env)
 
 ~QOCIRowId ()
 
- Public Functions inherited from QSharedData
 QSharedData ()
 Constructs a QSharedData object with a reference count of 0. More...
 
 QSharedData (const QSharedData &)
 Constructs a QSharedData object with reference count 0. More...
 

Public Variables

OCIRowid * id
 
- Public Variables inherited from QSharedData
QAtomicInt ref
 

Private Functions

 QOCIRowId (const QOCIRowId &other)
 

Detailed Description

Definition at line 132 of file qsql_oci.cpp.

Constructors and Destructors

◆ QOCIRowId() [1/2]

QOCIRowId::QOCIRowId ( OCIEnv env)

Definition at line 144 of file qsql_oci.cpp.

145  : id(0)
146 {
147  OCIDescriptorAlloc (env, reinterpret_cast<dvoid **>(&id),
148  OCI_DTYPE_ROWID, 0, 0);
149 }
OCIRowid * id
Definition: qsql_oci.cpp:138

◆ ~QOCIRowId()

QOCIRowId::~QOCIRowId ( )

Definition at line 151 of file qsql_oci.cpp.

152 {
153  if (id)
154  OCIDescriptorFree(id, OCI_DTYPE_ROWID);
155 }

◆ QOCIRowId() [2/2]

QOCIRowId::QOCIRowId ( const QOCIRowId other)
inlineprivate

Definition at line 141 of file qsql_oci.cpp.

141 : QSharedData(other) { Q_ASSERT(false); }
QSharedData()
Constructs a QSharedData object with a reference count of 0.
Definition: qshareddata.h:61
#define Q_ASSERT(cond)
Definition: qglobal.h:1823

Properties

◆ id

OCIRowid* QOCIRowId::id

Definition at line 138 of file qsql_oci.cpp.


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