test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CondCore
DBCommon
src
DbOpenTransaction.cc
Go to the documentation of this file.
1
// local includes
2
#include "
CondCore/DBCommon/interface/DbTransaction.h
"
3
#include "
CondCore/DBCommon/interface/DbOpenTransaction.h
"
4
5
cond::DbOpenTransaction::DbOpenTransaction
(
cond::DbTransaction
&
transaction
):
6
m_transaction(transaction),m_status(
false
){
7
}
8
9
#include <iostream>
10
cond::DbOpenTransaction::~DbOpenTransaction
(){
11
if
(!m_status && m_transaction.isActive() ) {
12
m_transaction.rollback();
13
}
14
}
15
16
void
cond::DbOpenTransaction::ok
()
17
{
18
m_status =
true
;
19
}
20
cond::DbOpenTransaction::~DbOpenTransaction
~DbOpenTransaction()
Definition:
DbOpenTransaction.cc:10
cond::DbOpenTransaction::ok
void ok()
Definition:
DbOpenTransaction.cc:16
cond::DbTransaction
Definition:
DbTransaction.h:19
cond::DbOpenTransaction::DbOpenTransaction
DbOpenTransaction(cond::DbTransaction &transaction)
Definition:
DbOpenTransaction.cc:5
python.IdGenerator.transaction
tuple transaction
Definition:
IdGenerator.py:83
DbOpenTransaction.h
DbTransaction.h
edm::false
volatile std::atomic< bool > shutdown_flag false
Definition:
UnixSignalHandlers.cc:22
Generated for CMSSW Reference Manual by
1.8.5