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.

Constructor & Destructor Documentation

◆ KDbTransactionData()

KDbTransactionData::KDbTransactionData ( KDbConnection * connection)
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:
This file is part of the KDE documentation.
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.