1 #ifndef CondCore_CondDB_RunInfoProxy_h 2 #define CondCore_CondDB_RunInfoProxy_h 20 namespace persistency {
23 class RunInfoProxyData;
28 typedef std::vector<std::tuple<Time_t,boost::posix_time::ptime,boost::posix_time::ptime> >
RunInfoData;
31 class Iterator :
public std::iterator<std::input_iterator_tag, cond::RunInfo_t> {
35 explicit Iterator( RunInfoData::const_iterator current );
72 void load(
const boost::posix_time::ptime& low,
const boost::posix_time::ptime&
up );
102 std::shared_ptr<RunInfoProxyData>
m_data;
void load(Time_t low, Time_t up)
std::shared_ptr< SessionImpl > m_session
RunInfoData::const_iterator m_current
cond::RunInfo_t operator*()
unsigned long long Time_t
bool operator==(const Iterator &rhs) const
std::vector< std::tuple< Time_t, boost::posix_time::ptime, boost::posix_time::ptime > > RunInfoData
bool operator!=(const Iterator &rhs) const
Iterator find(Time_t target) const
Iterator & operator=(const Iterator &rhs)
void checkTransaction(const std::string &ctx)
std::shared_ptr< RunInfoProxyData > m_data