#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_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 (const 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.
IOVProxy::IOVProxy | ( | ) |
Definition at line 171 of file IOVProxy.cc.
IOVProxy::~IOVProxy | ( | ) |
Definition at line 175 of file IOVProxy.cc.
|
explicit |
Definition at line 178 of file IOVProxy.cc.
IOVProxy::IOVProxy | ( | cond::DbSession & | dbSession, |
const std::string & | token | ||
) |
Definition at line 182 of file IOVProxy.cc.
IOVProxy::IOVProxy | ( | const boost::shared_ptr< IOVProxyData > & | data | ) |
Definition at line 187 of file IOVProxy.cc.
IOVProxy::IOVProxy | ( | const IOVProxy & | rhs | ) |
Definition at line 191 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 IOVProxy::comment | ( | ) | const |
Definition at line 299 of file IOVProxy.cc.
References o2o::iov.
Referenced by BOOST_PYTHON_MODULE(), cond::persistency::OraTagTable::getMetadata(), and cond::persistency::OraTagTable::select().
cond::DbSession & IOVProxy::db | ( | ) |
Definition at line 312 of file IOVProxy.cc.
Referenced by cond::IOVImportIterator::importMoreElements(), cond::KeyList::load(), and cond::persistency::IOVCache::session().
|
inline |
Definition at line 193 of file IOVProxy.h.
References cmsHarvester::index, m_iov, and size().
Referenced by BOOST_PYTHON_MODULE(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), cond::AlignSplitIOV::execute(), cond::persistency::OraIOVTable::getLastIov(), HcalO2OManager::getListOfPoolIovs(), and TestFunct::ReadWithIOV().
cond::IOVProxy::const_iterator 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::__getattr__(), BeautifulSoup.Tag::firstText(), cond::BasePayloadProxy::loadFor(), TestFunct::ReadWithIOV(), and cond::BasePayloadProxy::setIntervalFor().
cond::Time_t IOVProxy::firstSince | ( | ) | const |
Definition at line 285 of file IOVProxy.cc.
References o2o::iov.
Referenced by BOOST_PYTHON_MODULE(), and cond::persistency::OraIOVTable::selectGroups().
cond::IOVRange IOVProxy::head | ( | int | n | ) | const |
Definition at line 256 of file IOVProxy.cc.
Referenced by BOOST_PYTHON_MODULE(), and cond::persistency::OraTagTable::select().
cond::IOVSequence const & IOVProxy::iov | ( | ) | const |
Definition at line 276 of file IOVProxy.cc.
References cond::throwException().
Referenced by cond::ExportIOVUtilities::execute(), cond::KeyList::load(), cond::BasePayloadProxy::loadFor(), cond::IOVImportIterator::setUp(), and state().
bool IOVProxy::isValid | ( | cond::Time_t | currenttime | ) |
cond::Time_t IOVProxy::lastTill | ( | ) | const |
Definition at line 289 of file IOVProxy.cc.
References o2o::iov.
Referenced by BOOST_PYTHON_MODULE(), cond::persistency::OraTagTable::select(), and cond::persistency::OraIOVTable::selectGroups().
void IOVProxy::load | ( | const std::string & | token | ) |
Definition at line 200 of file IOVProxy.cc.
Referenced by cond::BasePayloadProxy::BasePayloadProxy(), cond::ExportIOVUtilities::execute(), MatrixToProcess.MatrixToProcess::getProcess(), MatrixToProcess.MatrixToProcess::listAll(), cond::BasePayloadProxy::loadIov(), and cond::BasePayloadProxy::loadTag().
cond::IOVProxy & IOVProxy::operator= | ( | const IOVProxy & | rhs | ) |
std::set< std::string > const & IOVProxy::payloadClasses | ( | ) | const |
Definition at line 294 of file IOVProxy.cc.
References o2o::iov.
Referenced by cond::ExportIOVUtilities::execute().
cond::IOVRange IOVProxy::range | ( | cond::Time_t | since, |
cond::Time_t | till | ||
) | const |
Definition at line 239 of file IOVProxy.cc.
Referenced by BOOST_PYTHON_MODULE(), cond::persistency::OraIOVTable::selectLatestByGroup(), CondBasicIter::setMax(), CondBasicIter::setMin(), and CondBasicIter::setRange().
cond::IOVRange IOVProxy::rangeHead | ( | cond::Time_t | since, |
cond::Time_t | till, | ||
int | n | ||
) | const |
cond::IOVRange IOVProxy::rangeTail | ( | cond::Time_t | since, |
cond::Time_t | till, | ||
int | n | ||
) | const |
bool IOVProxy::refresh | ( | ) |
Definition at line 205 of file IOVProxy.cc.
References findQualityFiles::size.
Referenced by Vispa.Main.TabController.TabController::checkModificationTimestamp(), and cond::BasePayloadProxy::refresh().
bool IOVProxy::refresh | ( | cond::DbSession & | newSession | ) |
Definition at line 211 of file IOVProxy.cc.
References findQualityFiles::size.
Referenced by Vispa.Main.TabController.TabController::checkModificationTimestamp().
int IOVProxy::revision | ( | ) | const |
Definition at line 304 of file IOVProxy.cc.
References o2o::iov.
Referenced by BOOST_PYTHON_MODULE().
int IOVProxy::size | ( | void | ) | const |
Definition at line 272 of file IOVProxy.cc.
References o2o::iov.
Referenced by BOOST_PYTHON_MODULE(), end(), cond::ExportIOVUtilities::execute(), cond::persistency::OraIOVTable::getLastIov(), cond::persistency::OraIOVTable::getSize(), cond::persistency::OraTagTable::select(), and cond::persistency::OraIOVTable::selectGroups().
|
inline |
cond::IOVRange IOVProxy::tail | ( | int | n | ) | const |
Definition at line 260 of file IOVProxy.cc.
Referenced by BOOST_PYTHON_MODULE(), and cond::persistency::OraTagTable::select().
cond::Time_t IOVProxy::timestamp | ( | ) | const |
Definition at line 308 of file IOVProxy.cc.
References o2o::iov.
Referenced by BOOST_PYTHON_MODULE(), and cond::persistency::OraTagTable::getMetadata().
cond::TimeType IOVProxy::timetype | ( | ) | const |
Definition at line 281 of file IOVProxy.cc.
References o2o::iov.
Referenced by BOOST_PYTHON_MODULE(), cond::ExportIOVUtilities::execute(), cond::AlignSplitIOV::execute(), cond::persistency::OraTagTable::select(), and cond::BasePayloadProxy::timetype().
const std::string & IOVProxy::token | ( | ) |
std::pair< cond::Time_t, cond::Time_t > IOVProxy::validity | ( | cond::Time_t | currenttime | ) |
Definition at line 226 of file IOVProxy.cc.
References end, o2o::iov, and getDQMSummary::iter.
|
private |
Definition at line 239 of file IOVProxy.h.
Referenced by begin(), end(), and operator=().