#include <IOVProxy.h>
Public Types | |
typedef iov_range_iterator | const_iterator |
Public Member Functions | |
const_iterator | begin () const |
std::string | comment () const |
DbSession & | db () const |
const_iterator | end () const |
const_iterator | find (cond::Time_t time) const |
cond::Time_t | firstSince () const |
IOVRange | head (int n) const |
IOVSequence const & | iov () const |
IOVProxy () | |
IOVProxy (cond::DbSession &dbSession) | |
IOVProxy (cond::DbSession &dbSession, const std::string &token) | |
IOVProxy (boost::shared_ptr< IOVProxyData > &data) | |
IOVProxy (const IOVProxy &rhs) | |
bool | isValid (cond::Time_t currenttime) |
cond::Time_t | lastTill () const |
void | load (const std::string &token) |
IOVProxy & | operator= (const IOVProxy &rhs) |
std::set< std::string > const & | payloadClasses () const |
IOVRange | range (cond::Time_t since, cond::Time_t till) const |
IOVRange | rangeHead (cond::Time_t since, cond::Time_t till, int n) const |
IOVRange | rangeTail (cond::Time_t since, cond::Time_t till, int n) const |
bool | refresh () |
bool | refresh (cond::DbSession &newSession) |
int | revision () const |
int | size () const |
SequenceState | state () const |
IOVRange | tail (int n) const |
cond::Time_t | timestamp () const |
TimeType | timetype () const |
const std::string & | token () |
std::pair< cond::Time_t, cond::Time_t > | validity (cond::Time_t currenttime) |
~IOVProxy () | |
Private Attributes | |
boost::shared_ptr< IOVProxyData > | m_iov |
Definition at line 158 of file IOVProxy.h.
Definition at line 160 of file IOVProxy.h.
cond::IOVProxy::IOVProxy | ( | ) |
Definition at line 168 of file IOVProxy.cc.
cond::IOVProxy::~IOVProxy | ( | ) |
Definition at line 172 of file IOVProxy.cc.
|
explicit |
Definition at line 175 of file IOVProxy.cc.
cond::IOVProxy::IOVProxy | ( | cond::DbSession & | dbSession, |
const std::string & | token | ||
) |
Definition at line 179 of file IOVProxy.cc.
cond::IOVProxy::IOVProxy | ( | boost::shared_ptr< IOVProxyData > & | data | ) |
Definition at line 184 of file IOVProxy.cc.
cond::IOVProxy::IOVProxy | ( | const IOVProxy & | rhs | ) |
Definition at line 188 of file IOVProxy.cc.
|
inline |
Definition at line 188 of file IOVProxy.h.
References m_iov.
Referenced by BOOST_PYTHON_MODULE(), cond::AlignSplitIOV::execute(), and HcalO2OManager::getListOfPoolIovs().
std::string cond::IOVProxy::comment | ( | ) | const |
Definition at line 298 of file IOVProxy.cc.
References o2o::iov.
Referenced by BOOST_PYTHON_MODULE().
cond::DbSession & cond::IOVProxy::db | ( | ) | const |
Definition at line 311 of file IOVProxy.cc.
Referenced by cond::IOVImportIterator::importMoreElements(), and cond::KeyList::load().
|
inline |
Definition at line 193 of file IOVProxy.h.
References getHLTprescales::index, m_iov, and size().
Referenced by BOOST_PYTHON_MODULE(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), cond::AlignSplitIOV::execute(), HcalO2OManager::getListOfPoolIovs(), l1t::DataWriter::payloadToken(), TestFunct::ReadWithIOV(), and cond::service::PoolDBOutputService::tagInfo().
cond::IOVProxy::const_iterator cond::IOVProxy::find | ( | cond::Time_t | time | ) | const |
Definition at line 264 of file IOVProxy.cc.
References end, o2o::iov, n, and findQualityFiles::size.
Referenced by BeautifulSoup.Tag::_invert(), BeautifulSoup.PageElement::insert(), cond::BasePayloadProxy::loadFor(), l1t::DataWriter::payloadToken(), TestFunct::ReadWithIOV(), and cond::BasePayloadProxy::setIntervalFor().
cond::Time_t cond::IOVProxy::firstSince | ( | ) | const |
Definition at line 284 of file IOVProxy.cc.
References o2o::iov.
Referenced by BOOST_PYTHON_MODULE().
cond::IOVRange cond::IOVProxy::head | ( | int | n | ) | const |
cond::IOVSequence const & cond::IOVProxy::iov | ( | ) | const |
Definition at line 276 of file IOVProxy.cc.
Referenced by cond::ExportIOVUtilities::execute(), cond::KeyList::load(), cond::BasePayloadProxy::loadFor(), cond::IOVImportIterator::setUp(), and state().
bool cond::IOVProxy::isValid | ( | cond::Time_t | currenttime | ) |
cond::Time_t cond::IOVProxy::lastTill | ( | ) | const |
Definition at line 288 of file IOVProxy.cc.
References o2o::iov.
Referenced by BOOST_PYTHON_MODULE().
void cond::IOVProxy::load | ( | const std::string & | token | ) |
Definition at line 197 of file IOVProxy.cc.
Referenced by cond::BasePayloadProxy::BasePayloadProxy(), cond::ExportIOVUtilities::execute(), MatrixToProcess.MatrixToProcess::getProcess(), MatrixToProcess.MatrixToProcess::listAll(), cond::BasePayloadProxy::loadIov(), cond::BasePayloadProxy::loadTag(), and l1t::DataWriter::payloadToken().
cond::IOVProxy & cond::IOVProxy::operator= | ( | const IOVProxy & | rhs | ) |
std::set< std::string > const & cond::IOVProxy::payloadClasses | ( | ) | const |
Definition at line 293 of file IOVProxy.cc.
References o2o::iov.
Referenced by cond::ExportIOVUtilities::execute().
cond::IOVRange cond::IOVProxy::range | ( | cond::Time_t | since, |
cond::Time_t | till | ||
) | const |
Definition at line 239 of file IOVProxy.cc.
Referenced by BOOST_PYTHON_MODULE(), CondBasicIter::setMax(), CondBasicIter::setMin(), and CondBasicIter::setRange().
cond::IOVRange cond::IOVProxy::rangeHead | ( | cond::Time_t | since, |
cond::Time_t | till, | ||
int | n | ||
) | const |
cond::IOVRange cond::IOVProxy::rangeTail | ( | cond::Time_t | since, |
cond::Time_t | till, | ||
int | n | ||
) | const |
bool cond::IOVProxy::refresh | ( | ) |
Definition at line 202 of file IOVProxy.cc.
References findQualityFiles::size.
Referenced by Vispa.Main.TabController.TabController::checkModificationTimestamp(), and cond::BasePayloadProxy::refresh().
bool cond::IOVProxy::refresh | ( | cond::DbSession & | newSession | ) |
Definition at line 208 of file IOVProxy.cc.
References findQualityFiles::size.
Referenced by Vispa.Main.TabController.TabController::checkModificationTimestamp().
int cond::IOVProxy::revision | ( | ) | const |
Definition at line 303 of file IOVProxy.cc.
References o2o::iov.
Referenced by BOOST_PYTHON_MODULE().
int cond::IOVProxy::size | ( | void | ) | const |
Definition at line 272 of file IOVProxy.cc.
References o2o::iov.
Referenced by BOOST_PYTHON_MODULE(), end(), cond::ExportIOVUtilities::execute(), and cond::service::PoolDBOutputService::tagInfo().
|
inline |
cond::IOVRange cond::IOVProxy::tail | ( | int | n | ) | const |
cond::Time_t cond::IOVProxy::timestamp | ( | ) | const |
Definition at line 307 of file IOVProxy.cc.
References o2o::iov.
Referenced by BOOST_PYTHON_MODULE().
cond::TimeType cond::IOVProxy::timetype | ( | ) | const |
Definition at line 280 of file IOVProxy.cc.
References o2o::iov.
Referenced by BOOST_PYTHON_MODULE(), cond::ExportIOVUtilities::execute(), cond::AlignSplitIOV::execute(), and cond::BasePayloadProxy::timetype().
const std::string & cond::IOVProxy::token | ( | ) |
std::pair< cond::Time_t, cond::Time_t > cond::IOVProxy::validity | ( | cond::Time_t | currenttime | ) |
Definition at line 223 of file IOVProxy.cc.
|
private |
Definition at line 239 of file IOVProxy.h.
Referenced by begin(), end(), and operator=().