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;
43 explicit Iterator(RunInfoData::const_iterator current);
68 explicit RunInfoProxy(
const std::shared_ptr<SessionImpl>& session);
80 void load(
const boost::posix_time::ptime&
low,
const boost::posix_time::ptime&
up);
110 std::shared_ptr<RunInfoProxyData>
m_data;
std::input_iterator_tag iterator_category
void load(Time_t low, Time_t up)
std::shared_ptr< SessionImpl > m_session
RunInfoData::const_iterator m_current
TEMPL(T2) struct Divides void
cond::RunInfo_t operator*()
unsigned long long Time_t
Iterator find(Time_t target) const
RunInfoProxy & operator=(const RunInfoProxy &rhs)
bool operator!=(const Iterator &rhs) const
bool operator==(const Iterator &rhs) const
Iterator & operator=(const Iterator &rhs)
void checkTransaction(const std::string &ctx)
std::shared_ptr< RunInfoProxyData > m_data
std::vector< std::tuple< Time_t, boost::posix_time::ptime, boost::posix_time::ptime > > RunInfoData