Go to the documentation of this file. 1 #ifndef PopConSourceHandler_H
2 #define PopConSourceHandler_H
63 T const*
ptr()
const {
return m_d.get(); }
71 std::shared_ptr<T>
m_d;
100 return std::pair<Container const*, std::string const>(&(const_cast<self*>(
this)->
returnData()),
userTextLog());
123 std::bind(std::less<cond::Time_t>(),
cond::LogDBEntry_t const * m_logDBEntry
OldContainer m_to_transfer
std::pair< Container const *, std::string const > operator()(const cond::persistency::Session &session, cond::TagInfo_t const &tagInfo, cond::LogDBEntry_t const &logDBEntry) const
virtual void getNewObjects()=0
cond::persistency::Session & dbSession() const
U second(std::pair< T, U > const &p)
virtual std::string id() const =0
std::vector< std::pair< T *, cond::Time_t > > OldContainer
virtual ~PopConSourceHandler()
std::unique_ptr< T > fetchPayload(const cond::Hash &payloadHash)
std::vector< Triplet > Container
T const & operator*() const
Container const & returnData()
cond::TagInfo_t const * m_tagInfo
Ref & operator=(const Ref &ref)
cond::TagInfo_t const & tagInfo() const
T const * operator->() const
unsigned long long Time_t
Container::value_type value_type
Ref(cond::persistency::Session &dbsession, const std::string &hash)
cond::persistency::Session m_dbsession
int add(value_type *payload, Summary *summary, Time_t time)
edm::Ref< Container > Ref
void initialize(const cond::persistency::Session &dbSession, cond::TagInfo_t const &tagInfo, cond::LogDBEntry_t const &logDBEntry)
cond::persistency::Session m_session
Summary * dummySummary(typename OldContainer::value_type const &) const
std::string m_userTextLog
cond::LogDBEntry_t const & logDBEntry() const
std::string const & userTextLog() const