#include <Session.h>
Public Member Functions | |
void | close () |
void | commit () |
void | start (bool readOnly=true) |
TransactionScope (Transaction &transaction) | |
~TransactionScope () | |
Private Attributes | |
bool | m_status |
Transaction & | m_transaction |
|
explicit |
Definition at line 204 of file Session.cc.
References cond::persistency::Transaction::isActive(), m_status, and m_transaction.
cond::persistency::TransactionScope::~TransactionScope | ( | ) |
Definition at line 209 of file Session.cc.
References cond::persistency::Transaction::isActive(), m_status, m_transaction, and cond::persistency::Transaction::rollback().
void cond::persistency::TransactionScope::close | ( | void | ) |
Definition at line 225 of file Session.cc.
References m_status.
Referenced by lumiQTWidget.ApplicationWindow::fileQuit(), Vispa.Gui.BoxContentDialog.BoxContentDialog::keyPressEvent(), and Vispa.Gui.FindDialog.FindDialog::keyPressEvent().
void cond::persistency::TransactionScope::commit | ( | ) |
Definition at line 220 of file Session.cc.
References cond::persistency::Transaction::commit(), m_status, and m_transaction.
void cond::persistency::TransactionScope::start | ( | bool | readOnly = true | ) |
Definition at line 215 of file Session.cc.
References m_status, m_transaction, and cond::persistency::Transaction::start().
Referenced by progressbar.ProgressBar::__next__(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), l1t::WriterProxyT< Record, Type >::save(), and l1t::DataWriter::writeKeyList().
|
private |
Definition at line 185 of file Session.h.
Referenced by close(), commit(), start(), TransactionScope(), and ~TransactionScope().
|
private |
Definition at line 184 of file Session.h.
Referenced by commit(), start(), TransactionScope(), and ~TransactionScope().