CondCore
CondDB
src
PayloadProxy.cc
Go to the documentation of this file.
1
#include "
CondCore/CondDB/interface/PayloadProxy.h
"
2
3
namespace
cond
{
4
5
namespace
persistency {
6
7
BasePayloadProxy::BasePayloadProxy
(
Iov_t
const
* mostRecentCurrentIov,
8
Session
const
* mostRecentSession,
9
std::shared_ptr<std::vector<Iov_t>>
const
* mostRecentRequests)
10
: m_mostRecentCurrentIov(mostRecentCurrentIov),
11
m_mostRecentSession(mostRecentSession),
12
m_mostRecentRequests(mostRecentRequests) {}
13
14
BasePayloadProxy::~BasePayloadProxy
() {}
15
16
bool
BasePayloadProxy::isValid
()
const
{
return
m_iovAtInitialization
.
isValid
(); }
17
18
void
BasePayloadProxy::initializeForNewIOV
() {
19
m_iovAtInitialization
= *
m_mostRecentCurrentIov
;
20
m_session
= *
m_mostRecentSession
;
21
m_requests
= *
m_mostRecentRequests
;
22
}
23
24
}
// namespace persistency
25
}
// namespace cond
PayloadProxy.h
cond::persistency::BasePayloadProxy::initializeForNewIOV
void initializeForNewIOV()
Definition:
PayloadProxy.cc:18
cond::persistency::BasePayloadProxy::~BasePayloadProxy
virtual ~BasePayloadProxy()
Definition:
PayloadProxy.cc:14
cond::Iov_t::isValid
bool isValid() const
Definition:
Types.cc:16
cond::persistency::BasePayloadProxy::m_session
Session m_session
Definition:
PayloadProxy.h:49
cond::persistency::BasePayloadProxy::m_iovAtInitialization
Iov_t m_iovAtInitialization
Definition:
PayloadProxy.h:48
cond::persistency::BasePayloadProxy::m_mostRecentSession
Session const * m_mostRecentSession
Definition:
PayloadProxy.h:53
cond::persistency::BasePayloadProxy::m_mostRecentCurrentIov
Iov_t const * m_mostRecentCurrentIov
Definition:
PayloadProxy.h:52
cond
Definition:
plugin.cc:23
cond::persistency::Session
Definition:
Session.h:63
cond::persistency::BasePayloadProxy::m_requests
std::shared_ptr< std::vector< Iov_t > > m_requests
Definition:
PayloadProxy.h:50
cond::persistency::BasePayloadProxy::m_mostRecentRequests
std::shared_ptr< std::vector< Iov_t > > const * m_mostRecentRequests
Definition:
PayloadProxy.h:54
cond::Iov_t
Definition:
Types.h:47
cond::persistency::BasePayloadProxy::isValid
bool isValid() const
Definition:
PayloadProxy.cc:16
cond::persistency::BasePayloadProxy::BasePayloadProxy
BasePayloadProxy(Iov_t const *mostRecentCurrentIov, Session const *mostRecentSession, std::shared_ptr< std::vector< Iov_t >> const *mostRecentRequests)
Definition:
PayloadProxy.cc:7
Generated for CMSSW Reference Manual by
1.8.16