CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
cond::PoolTransactionSentry::Elem Struct Reference

Public Member Functions

 Elem (cond::DbSession &db)
 
 ~Elem ()
 

Public Attributes

cond::DbSession pooldb
 

Detailed Description

Definition at line 24 of file PayLoadInspector.h.

Constructor & Destructor Documentation

cond::PoolTransactionSentry::Elem::Elem ( cond::DbSession db)
inline

Definition at line 25 of file PayLoadInspector.h.

References pooldb, cond::DbTransaction::start(), and cond::DbSession::transaction().

25  : pooldb(db){
26  pooldb.transaction().start(true);
27  }
DbTransaction & transaction()
Definition: DbSession.cc:153
int start(bool readOnly=false)
start transaction
cond::PoolTransactionSentry::Elem::~Elem ( )
inline

Definition at line 28 of file PayLoadInspector.h.

References cond::DbTransaction::commit(), pooldb, and cond::DbSession::transaction().

DbTransaction & transaction()
Definition: DbSession.cc:153
int commit()
commit transaction.

Member Data Documentation

cond::DbSession cond::PoolTransactionSentry::Elem::pooldb

Definition at line 29 of file PayLoadInspector.h.

Referenced by Elem(), and ~Elem().