Go to the documentation of this file.
6 namespace persistency {
86 checkTransaction(
"RunInfoProxy::load(const boost::posix_time::ptime&,const boost::posix_time::ptime&)");
101 if (!
m_session->isTransactionActive(
false))
121 bool operator()(
const std::tuple<cond::Time_t, boost::posix_time::ptime, boost::posix_time::ptime>& x,
123 return (y > std::get<0>(x));
129 bool operator()(
const std::tuple<cond::Time_t, boost::posix_time::ptime, boost::posix_time::ptime>& x,
130 const boost::posix_time::ptime& y) {
131 return (y > std::get<2>(x));
155 throwException(
"No data has been found.",
"RunInfoProxy::get(Time_t)");
157 throwException(
"The target run has not been found in the selected run range.",
"RunInfoProxy::get(Time_t)");
165 throwException(
"No data has been found.",
"RunInfoProxy::get(const boost::posix_time::ptime&)");
167 throwException(
"The target time has not been found in the selected time range.",
168 "RunInfoProxy::get(const boost::posix_time::ptime&)");
Iterator find(Time_t target) const
RunInfoData::const_iterator m_current
void load(Time_t low, Time_t up)
bool operator()(const std::tuple< cond::Time_t, boost::posix_time::ptime, boost::posix_time::ptime > &x, const boost::posix_time::ptime &y)
std::shared_ptr< SessionImpl > m_session
bool operator!=(const Iterator &rhs) const
RunInfoProxy::RunInfoData runList
std::vector< std::tuple< Time_t, boost::posix_time::ptime, boost::posix_time::ptime > > RunInfoData
RunInfoProxy & operator=(const RunInfoProxy &rhs)
__host__ constexpr __device__ RandomIt lower_bound(RandomIt first, RandomIt last, const T &value, Compare comp={})
bool operator==(const QGLikelihoodParameters &lhs, const QGLikelihoodCategory &rhs)
Test if parameters are compatible with category.
bool operator==(const Iterator &rhs) const
cond::RunInfo_t get(Time_t target) const
unsigned long long Time_t
cond::RunInfo_t operator*()
Iterator & operator=(const Iterator &rhs)
void throwException(const std::string &message, const std::string &methodName)
bool operator()(const std::tuple< cond::Time_t, boost::posix_time::ptime, boost::posix_time::ptime > &x, const cond::Time_t &y)
std::shared_ptr< RunInfoProxyData > m_data
void checkTransaction(const std::string &ctx)