test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
cond::persistency::Transaction Class Reference

#include <Session.h>

Public Member Functions

void commit ()
 
bool isActive ()
 
Transactionoperator= (const Transaction &rhs)
 
void rollback ()
 
void start (bool readOnly=true)
 
 Transaction (SessionImpl &session)
 
 Transaction (const Transaction &rhs)
 

Private Attributes

SessionImplm_session
 

Detailed Description

Definition at line 41 of file Session.h.

Constructor & Destructor Documentation

cond::persistency::Transaction::Transaction ( SessionImpl session)
explicit

Definition at line 9 of file Session.cc.

9  :
10  m_session( &session ){
11  }
session
Definition: models.py:201
cond::persistency::Transaction::Transaction ( const Transaction rhs)

Definition at line 13 of file Session.cc.

13  :
14  m_session( rhs.m_session ){
15  }

Member Function Documentation

void cond::persistency::Transaction::commit ( )
bool cond::persistency::Transaction::isActive ( )
Transaction & cond::persistency::Transaction::operator= ( const Transaction rhs)

Definition at line 17 of file Session.cc.

References m_session.

17  {
18  m_session = rhs.m_session;
19  return *this;
20  }
void cond::persistency::Transaction::rollback ( )
void cond::persistency::Transaction::start ( bool  readOnly = true)

Member Data Documentation

SessionImpl* cond::persistency::Transaction::m_session
private

Definition at line 55 of file Session.h.

Referenced by commit(), isActive(), operator=(), rollback(), and start().