1 #ifndef PopConSourceHandler_H
2 #define PopConSourceHandler_H
12 #include <boost/bind.hpp>
90 boost::shared_ptr<T>
m_d;
125 const_cast<self*
>(
this)->
initialize(session, tagInfo, logDBEntry);
147 boost::bind(std::less<cond::Time_t>(),
tuple dbsession
create,insert
T const & operator*() const
cond::persistency::Session m_dbsession
std::string m_userTextLog
std::string const & userTextLog() const
edm::Ref< Container > Ref
virtual void getNewObjects()=0
Ref & operator=(const Ref &ref)
boost::shared_ptr< T > fetchPayload(const cond::Hash &payloadHash)
cond::LogDBEntry_t const * m_logDBEntry
std::vector< Triplet > Container
OldContainer m_to_transfer
virtual ~PopConSourceHandler()
U second(std::pair< T, U > const &p)
unsigned long long Time_t
std::pair< Container const *, std::string const > operator()(const cond::persistency::Session &session, cond::TagInfo_t const &tagInfo, cond::LogDBEntry_t const &logDBEntry) const
cond::LogDBEntry_t const & logDBEntry() const
void initialize(const cond::persistency::Session &dbSession, cond::TagInfo_t const &tagInfo, cond::LogDBEntry_t const &logDBEntry)
Summary * dummySummary(typename OldContainer::value_type const &) const
Container::value_type value_type
Container const & returnData()
T const * operator->() const
Ref(cond::persistency::Session &dbsession, const std::string &hash)
cond::TagInfo_t const * m_tagInfo
virtual std::string id() const =0
boost::shared_ptr< T > m_d
cond::persistency::Session m_session
std::vector< std::pair< T *, cond::Time_t > > OldContainer
int add(value_type *payload, Summary *summary, Time_t time)
cond::TagInfo_t const & tagInfo() const