#include <RunInfoProxy.h>
Classes | |
class | Iterator |
Public Types | |
typedef std::vector< std::tuple< Time_t, boost::posix_time::ptime, boost::posix_time::ptime > > | RunInfoData |
Public Member Functions | |
Iterator | begin () const |
Iterator | end () const |
Iterator | find (const boost::posix_time::ptime &target) const |
Iterator | find (Time_t target) const |
cond::RunInfo_t | get (const boost::posix_time::ptime &target) const |
cond::RunInfo_t | get (Time_t target) const |
void | load (const boost::posix_time::ptime &low, const boost::posix_time::ptime &up) |
void | load (Time_t low, Time_t up) |
RunInfoProxy & | operator= (const RunInfoProxy &rhs) |
void | reset () |
RunInfoProxy () | |
RunInfoProxy (const RunInfoProxy &rhs) | |
RunInfoProxy (const std::shared_ptr< SessionImpl > &session) | |
int | size () const |
Private Member Functions | |
void | checkTransaction (const std::string &ctx) |
Private Attributes | |
std::shared_ptr< RunInfoProxyData > | m_data |
std::shared_ptr< SessionImpl > | m_session |
Definition at line 26 of file RunInfoProxy.h.
typedef std::vector<std::tuple<Time_t, boost::posix_time::ptime, boost::posix_time::ptime> > cond::persistency::RunInfoProxy::RunInfoData |
Definition at line 28 of file RunInfoProxy.h.
RunInfoProxy::RunInfoProxy | ( | ) |
Definition at line 52 of file RunInfoProxy.cc.
|
explicit |
Definition at line 54 of file RunInfoProxy.cc.
RunInfoProxy::RunInfoProxy | ( | const RunInfoProxy & | rhs | ) |
Definition at line 57 of file RunInfoProxy.cc.
RunInfoProxy::Iterator RunInfoProxy::begin | ( | void | ) | const |
|
private |
Definition at line 105 of file RunInfoProxy.cc.
References m_session, and cond::persistency::throwException().
Referenced by load().
RunInfoProxy::Iterator RunInfoProxy::end | ( | void | ) | const |
Definition at line 119 of file RunInfoProxy.cc.
References m_data.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), cond::payloadInspector::TimeHistoryPlot< PayloadType, Y >::fill(), and get().
RunInfoProxy::Iterator RunInfoProxy::find | ( | const boost::posix_time::ptime & | target | ) | const |
Definition at line 150 of file RunInfoProxy.cc.
References cuda_std::lower_bound(), m_data, AlCaHLTBitMon_ParallelJobs::p, and filterCSVwithJSON::target.
Referenced by BeautifulSoup.Tag::__getattr__(), and BeautifulSoup.Tag::firstText().
RunInfoProxy::Iterator RunInfoProxy::find | ( | Time_t | target | ) | const |
Definition at line 142 of file RunInfoProxy.cc.
References cuda_std::lower_bound(), m_data, AlCaHLTBitMon_ParallelJobs::p, and filterCSVwithJSON::target.
Referenced by BeautifulSoup.Tag::__getattr__(), cond::payloadInspector::TimeHistoryPlot< PayloadType, Y >::fill(), BeautifulSoup.Tag::firstText(), and get().
cond::RunInfo_t RunInfoProxy::get | ( | const boost::posix_time::ptime & | target | ) | const |
Definition at line 169 of file RunInfoProxy.cc.
References end(), find(), filterCSVwithJSON::target, and cond::persistency::throwException().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), rrapi.RRApi::columns(), util.rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), data_sources.json_list::first(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), data_sources.json_list::indices(), data_sources.json_list::last(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
cond::RunInfo_t RunInfoProxy::get | ( | Time_t | target | ) | const |
Definition at line 159 of file RunInfoProxy.cc.
References end(), find(), filterCSVwithJSON::target, and cond::persistency::throwException().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), rrapi.RRApi::columns(), util.rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), data_sources.json_list::first(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), data_sources.json_list::indices(), data_sources.json_list::last(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
void RunInfoProxy::load | ( | const boost::posix_time::ptime & | low, |
const boost::posix_time::ptime & | up | ||
) |
Definition at line 82 of file RunInfoProxy.cc.
References checkTransaction(), LaserClient_cfi::low, m_data, m_session, reset(), AlCaHLTBitMon_QueryRunRegistry::string, cond::persistency::throwException(), and up.
Referenced by MatrixToProcess.MatrixToProcess::getProcess(), MatrixToProcess.MatrixToProcess::listAll(), and ConfigBuilder.ConfigBuilder::prepare_FILTER().
Definition at line 66 of file RunInfoProxy.cc.
References checkTransaction(), LaserClient_cfi::low, m_data, m_session, reset(), AlCaHLTBitMon_QueryRunRegistry::string, cond::persistency::throwException(), and up.
Referenced by MatrixToProcess.MatrixToProcess::getProcess(), cond::persistency::Session::getRunInfo(), MatrixToProcess.MatrixToProcess::listAll(), and ConfigBuilder.ConfigBuilder::prepare_FILTER().
RunInfoProxy & RunInfoProxy::operator= | ( | const RunInfoProxy & | rhs | ) |
void RunInfoProxy::reset | ( | void | ) |
Definition at line 99 of file RunInfoProxy.cc.
References m_data.
Referenced by MatrixReader.MatrixReader::__init__(), load(), data_sources.json_list::next(), and MatrixReader.MatrixReader::showRaw().
int RunInfoProxy::size | ( | void | ) | const |
Definition at line 179 of file RunInfoProxy.cc.
References m_data.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
private |
Definition at line 103 of file RunInfoProxy.h.
Referenced by begin(), end(), find(), load(), operator=(), reset(), and size().
|
private |
Definition at line 104 of file RunInfoProxy.h.
Referenced by checkTransaction(), load(), and operator=().