CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
cond::CSScopedSession Class Reference

Public Member Functions

void close ()
 
 CSScopedSession (CredentialStore &store)
 
void start (bool readOnly=true)
 
void startSuper (const std::string &connectionString, const std::string &userName, const std::string &password)
 
 ~CSScopedSession ()
 

Private Attributes

CredentialStorem_store
 

Detailed Description

Definition at line 184 of file CredentialStore.cc.

Constructor & Destructor Documentation

◆ CSScopedSession()

cond::CSScopedSession::CSScopedSession ( CredentialStore store)
inline

Definition at line 186 of file CredentialStore.cc.

186 : m_store(store) {}

◆ ~CSScopedSession()

cond::CSScopedSession::~CSScopedSession ( )
inline

Definition at line 187 of file CredentialStore.cc.

187 { m_store.closeSession(false); }

Member Function Documentation

◆ close()

void cond::CSScopedSession::close ( void  )
inline

◆ start()

void cond::CSScopedSession::start ( bool  readOnly = true)
inline

◆ startSuper()

void cond::CSScopedSession::startSuper ( const std::string &  connectionString,
const std::string &  userName,
const std::string &  password 
)
inline

Member Data Documentation

◆ m_store

CredentialStore& cond::CSScopedSession::m_store
private

Definition at line 195 of file CredentialStore.cc.

cond::CredentialStore::startSession
void startSession(bool readMode)
Definition: CredentialStore.cc:612
EcalCondDBWriter_cfi.userName
userName
Definition: EcalCondDBWriter_cfi.py:61
EcalCondDBWriter_cfi.password
password
Definition: EcalCondDBWriter_cfi.py:62
cond::CredentialStore::closeSession
void closeSession(bool commit=true)
Definition: CredentialStore.cc:557
cond::CredentialStore::startSuperSession
void startSuperSession(const std::string &connectionString, const std::string &userName, const std::string &password)
Definition: CredentialStore.cc:604
cond::CSScopedSession::m_store
CredentialStore & m_store
Definition: CredentialStore.cc:195
l1RCTOmdsFedVectorProducer_cfi.connectionString
connectionString
Definition: l1RCTOmdsFedVectorProducer_cfi.py:4