1 #ifndef PopConSourceHandler_H
2 #define PopConSourceHandler_H
11 #include <boost/bind.hpp>
89 boost::shared_ptr<T>
m_d;
123 const_cast<self*
>(
this)->
initialize(session, tagInfo, logDBEntry);
141 virtual std::string
id()
const=0;
145 boost::bind(std::less<cond::Time_t>(),
tuple dbsession
create,insert
T const & operator*() const
std::string m_userTextLog
std::string const & userTextLog() const
edm::Ref< Container > Ref
virtual void getNewObjects()=0
Ref & operator=(const Ref &ref)
cond::DbSession m_dbsession
std::vector< Triplet > Container
OldContainer m_to_transfer
cond::TagInfo const & tagInfo() const
cond::LogDBEntry const * m_logDBEntry
virtual ~PopConSourceHandler()
U second(std::pair< T, U > const &p)
cond::LogDBEntry const & logDBEntry() const
unsigned long long Time_t
cond::DbSession m_session
cond::TagInfo const * m_tagInfo
std::pair< Container const *, std::string const > operator()(cond::DbSession session, cond::TagInfo const &tagInfo, cond::LogDBEntry const &logDBEntry) const
Summary * dummySummary(typename OldContainer::value_type const &) const
Container::value_type value_type
Container const & returnData()
Ref(cond::DbSession &dbsession, std::string token)
T const * operator->() const
virtual std::string id() const =0
boost::shared_ptr< T > m_d
boost::shared_ptr< T > getTypedObject(const std::string &objectId)
std::vector< std::pair< T *, cond::Time_t > > OldContainer
int add(value_type *payload, Summary *summary, Time_t time)
void initialize(cond::DbSession dbSession, cond::TagInfo const &tagInfo, cond::LogDBEntry const &logDBEntry)