KDbTransactionData

Search for usage in LXR

KDbTransactionData Class Reference

#include <KDbTransactionData.h>

Inheritance diagram for KDbTransactionData:

Public Member Functions

 KDbTransactionData (KDbConnection *connection)
 
KDbConnectionconnection ()
 
const KDbConnectionconnection () 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.

Member Function Documentation

◆ connection() [1/2]

const 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

◆ 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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue Aug 9 2022 04:12:09 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.