CMS 3D CMS Logo

PayloadReader.cc
Go to the documentation of this file.
2 
3 namespace cond {
4 
5  namespace persistency {
6 
8 
9  PayloadReader::PayloadReader(const PayloadReader& rhs) : m_connection(rhs.m_connection), m_session(rhs.m_session) {}
10 
12 
15  m_session = rhs.m_session;
16  return *this;
17  }
18 
20 
22  m_session = m_connection->createSession(connectionString);
23  }
24 
26 
28 
29  } // namespace persistency
30 } // namespace cond
PayloadReader.h
cond::persistency::Session::close
void close()
Definition: Session.cc:50
cond::persistency::PayloadReader
Definition: PayloadReader.h:23
cond::persistency::PayloadReader::connection
ConnectionPool & connection()
Definition: PayloadReader.cc:19
cond::persistency::ConnectionPool
Definition: ConnectionPool.h:35
cond::persistency::PayloadReader::operator=
PayloadReader & operator=(const PayloadReader &rhs)
Definition: PayloadReader.cc:13
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
cond
Definition: plugin.cc:23
cond::persistency::PayloadReader::~PayloadReader
virtual ~PayloadReader()
Definition: PayloadReader.cc:11
cond::persistency::PayloadReader::close
void close()
Definition: PayloadReader.cc:27
cond::persistency::PayloadReader::PRODUCTION_DB
static constexpr const char *const PRODUCTION_DB
Definition: PayloadReader.h:25
cond::persistency::PayloadReader::PayloadReader
PayloadReader()
Definition: PayloadReader.cc:7
cond::persistency::PayloadReader::m_connection
std::shared_ptr< ConnectionPool > m_connection
Definition: PayloadReader.h:57
cond::persistency::PayloadReader::open
void open()
Definition: PayloadReader.cc:25
l1RCTOmdsFedVectorProducer_cfi.connectionString
connectionString
Definition: l1RCTOmdsFedVectorProducer_cfi.py:4
cond::persistency::PayloadReader::m_session
Session m_session
Definition: PayloadReader.h:58