CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PayloadReader.cc
Go to the documentation of this file.
2 
3 namespace cond {
4 
5  namespace persistency {
6 
8  m_connection.reset( new ConnectionPool );
9  }
10 
12  m_connection( rhs.m_connection ),
13  m_session( rhs.m_session ){
14  }
15 
17  }
18 
21  m_session = rhs.m_session;
22  return *this;
23  }
24 
26  return *m_connection;
27  }
28 
30  m_session = m_connection->createSession( connectionString );
31  }
32 
35  }
36 
38  m_session.close();
39  }
40 
41  }
42 }
string connectionString
Definition: autoCondHLT.py:4
static const char *const PRODUCTION_DB
Definition: PayloadReader.h:27
std::shared_ptr< ConnectionPool > m_connection
Definition: PayloadReader.h:60
PayloadReader & operator=(const PayloadReader &rhs)