KDbTransactionData
#include <KDbTransactionData.h>
Public Member Functions | |
KDbTransactionData (KDbConnection *connection) | |
KDbConnection * | connection () |
const KDbConnection * | connection () const |
void | deref () |
bool | isActive () const |
void | ref () |
int | refcount () const |
void | setActive (bool set) |
Detailed Description
Internal prototype for storing transaction handle for KDbTransaction object.
Only for driver developers. Teimplement this class for database driver that supports transactions.
Definition at line 35 of file KDbTransactionData.h.
Constructor & Destructor Documentation
◆ KDbTransactionData()
|
explicit |
Definition at line 55 of file KDbTransaction.cpp.
◆ ~KDbTransactionData()
KDbTransactionData::~KDbTransactionData | ( | ) |
Definition at line 65 of file KDbTransaction.cpp.
Member Function Documentation
◆ connection() [1/2]
KDbConnection * KDbTransactionData::connection | ( | ) |
- Returns
- connection for this data
Definition at line 99 of file KDbTransaction.cpp.
◆ connection() [2/2]
const KDbConnection * KDbTransactionData::connection | ( | ) | const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- Since
- 3.1
Definition at line 104 of file KDbTransaction.cpp.
◆ deref()
void KDbTransactionData::deref | ( | ) |
Decrements the value of reference counter for this data.
Definition at line 79 of file KDbTransaction.cpp.
◆ isActive()
bool KDbTransactionData::isActive | ( | ) | const |
- Returns
- "active" flag of this data
Definition at line 89 of file KDbTransaction.cpp.
◆ ref()
void KDbTransactionData::ref | ( | ) |
Increments the value of reference counter for this data.
Definition at line 74 of file KDbTransaction.cpp.
◆ refcount()
int KDbTransactionData::refcount | ( | ) | const |
- Returns
- value of reference counter for this data.
Definition at line 84 of file KDbTransaction.cpp.
◆ setActive()
void KDbTransactionData::setActive | ( | bool | set | ) |
Sets "active" flag of this data.
Definition at line 94 of file KDbTransaction.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.