1 #ifndef PopConSourceHandler_H
2 #define PopConSourceHandler_H
7 #include <boost/bind.hpp>
85 boost::shared_ptr<T>
m_d;
120 const_cast<self*
>(
this)->
initialize(session, tagInfo, logDBEntry);
142 boost::bind(std::less<cond::Time_t>(),
143 boost::bind(&Container::value_type::time,_1),
144 boost::bind(&Container::value_type::time,_2)
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)
Container::value_type value_type
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 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