![]() |
![]() |
#include <IOVSequence.h>
Public Types | |
typedef Container::const_iterator | const_iterator |
typedef ora::PVector< Item > | Container |
typedef cond::IOVElement | Item |
typedef Container::iterator | iterator |
Public Member Functions | |
size_t | add (cond::Time_t time, std::string const &wrapperToken) |
bool | exist (cond::Time_t time) const |
const_iterator | find (cond::Time_t time) const |
const_iterator | findSince (cond::Time_t time) const |
cond::Time_t | firstSince () const |
Container const & | iovs () const |
IOVSequence () | |
IOVSequence (cond::TimeType ttype) | |
IOVSequence (int type, cond::Time_t till, std::string const &imetadata) | |
IOVSequence (IOVSequence const &rh) | |
cond::Time_t | lastTill () const |
void | loadAll () const |
std::string const & | metadataToken () const |
bool | notOrdered () const |
IOVSequence & | operator= (IOVSequence const &rh) |
Container & | piovs () |
Container const & | piovs () const |
cond::TimeType | timeType () const |
size_t | truncate () |
void | updateLastTill (cond::Time_t till) |
~IOVSequence () | |
![]() | |
std::string const & | comment () const |
int | revision () const |
int | stamp (std::string const &icomment, bool append=false) |
cond::Time_t | timestamp () const |
UpdateStamp () | |
UpdateStamp (UpdateStamp const &rhs) | |
virtual | ~UpdateStamp () |
Private Member Functions | |
void | disorder () |
Container const & | sortMe () const |
Private Attributes | |
Container | m_iovs |
cond::Time_t | m_lastTill |
std::string | m_metadata |
bool | m_notOrdered |
Container * | m_sorted |
int | m_timetype |
a time order sequence of interval-of-validity The time associated to each interval is the end-validity (till time) the end of each interval is the begin of the next it is a UpdateStamp by mixin (I'll regret..)
Definition at line 22 of file IOVSequence.h.
Definition at line 27 of file IOVSequence.h.
typedef ora::PVector<Item> cond::IOVSequence::Container |
Definition at line 25 of file IOVSequence.h.
Definition at line 24 of file IOVSequence.h.
Definition at line 26 of file IOVSequence.h.
cond::IOVSequence::IOVSequence | ( | ) |
Definition at line 10 of file IOVSequence.cc.
|
explicit |
Definition at line 12 of file IOVSequence.cc.
cond::IOVSequence::IOVSequence | ( | int | type, |
cond::Time_t | till, | ||
std::string const & | imetadata | ||
) |
Definition at line 18 of file IOVSequence.cc.
cond::IOVSequence::~IOVSequence | ( | ) |
cond::IOVSequence::IOVSequence | ( | IOVSequence const & | rh | ) |
Definition at line 27 of file IOVSequence.cc.
size_t cond::IOVSequence::add | ( | cond::Time_t | time, |
std::string const & | wrapperToken | ||
) |
Definition at line 72 of file IOVSequence.cc.
References prof2calltree::back, disorder(), relativeConstraints::empty, m_notOrdered, piovs(), ora::PVector< Tp >::push_back(), and ora::PVector< Tp >::size().
Referenced by cond::backportIOV().
|
private |
Definition at line 107 of file IOVSequence.cc.
References m_notOrdered, and m_sorted.
Referenced by add(), and truncate().
bool cond::IOVSequence::exist | ( | cond::Time_t | time | ) | const |
Definition at line 102 of file IOVSequence.cc.
References ora::PVector< Tp >::end(), findSince(), and iovs().
IOVSequence::const_iterator cond::IOVSequence::find | ( | cond::Time_t | time | ) | const |
Definition at line 85 of file IOVSequence.cc.
References begin, end, ora::PVector< Tp >::end(), iovs(), lastTill(), L1TEmulatorMonitor_cff::p, and cond::IOVElement::sinceTime().
Referenced by cond::IOVService::exportIOVRangeWithPayload(), findSince(), cond::IOVService::payloadToken(), and cond::IOVService::validity().
IOVSequence::const_iterator cond::IOVSequence::findSince | ( | cond::Time_t | time | ) | const |
Definition at line 97 of file IOVSequence.cc.
References end, ora::PVector< Tp >::end(), find(), iovs(), L1TEmulatorMonitor_cff::p, and cond::rpcobgas::time.
Referenced by exist().
|
inline |
Definition at line 61 of file IOVSequence.h.
References ora::PVector< Tp >::front(), and iovs().
Referenced by cond::backportIOV(), cond::IOVService::exportIOVRangeWithPayload(), cond::IOVService::isValid(), and cond::IOVService::validity().
IOVSequence::Container const & cond::IOVSequence::iovs | ( | ) | const |
Definition at line 54 of file IOVSequence.cc.
References m_iovs, m_notOrdered, m_sorted, and sortMe().
Referenced by cond::backportIOV(), cond::IOVService::deleteAll(), exist(), cond::IOVService::exportIOVRangeWithPayload(), cond::IOVService::exportIOVWithPayload(), find(), findSince(), firstSince(), cond::IOVService::payloadContainerName(), cond::IOVService::payloadToken(), and cond::IOVService::validity().
|
inline |
Definition at line 63 of file IOVSequence.h.
References m_lastTill.
Referenced by cond::backportIOV(), cond::IOVService::exportIOVRangeWithPayload(), cond::IOVService::exportIOVWithPayload(), find(), cond::IOVService::isValid(), and cond::IOVService::validity().
void cond::IOVSequence::loadAll | ( | ) | const |
Definition at line 48 of file IOVSequence.cc.
|
inline |
Definition at line 74 of file IOVSequence.h.
References m_metadata.
Referenced by cond::IOVService::exportIOVRangeWithPayload(), and cond::IOVService::exportIOVWithPayload().
|
inline |
IOVSequence & cond::IOVSequence::operator= | ( | IOVSequence const & | rh | ) |
Definition at line 36 of file IOVSequence.cc.
References m_iovs, m_lastTill, m_metadata, m_notOrdered, m_sorted, and m_timetype.
|
inline |
Definition at line 87 of file IOVSequence.h.
References m_iovs.
Referenced by add(), and truncate().
|
inline |
|
private |
Definition at line 60 of file IOVSequence.cc.
References ora::PVector< Tp >::begin(), ora::PVector< Tp >::end(), m_iovs, m_sorted, cond::IOVElement::sinceTime(), and python.multivaluedict::sort().
Referenced by iovs().
|
inline |
Definition at line 58 of file IOVSequence.h.
References m_timetype, cond::timeTypeSpecs, and cond::TimeTypeSpecs::type.
Referenced by cond::backportIOV(), cond::IOVService::exportIOVRangeWithPayload(), cond::IOVService::exportIOVWithPayload(), and cond::IOVService::timeType().
size_t cond::IOVSequence::truncate | ( | ) |
Definition at line 79 of file IOVSequence.cc.
References disorder(), m_notOrdered, piovs(), ora::PVector< Tp >::pop_back(), and ora::PVector< Tp >::size().
Referenced by python.Vispa.Gui.VispaWidget.TextField::calculateDimensions().
|
inline |
|
private |
Definition at line 100 of file IOVSequence.h.
Referenced by iovs(), operator=(), piovs(), and sortMe().
|
private |
Definition at line 102 of file IOVSequence.h.
Referenced by lastTill(), operator=(), and updateLastTill().
|
private |
Definition at line 106 of file IOVSequence.h.
Referenced by metadataToken(), and operator=().
|
private |
Definition at line 104 of file IOVSequence.h.
Referenced by add(), disorder(), iovs(), notOrdered(), operator=(), and truncate().
|
mutableprivate |
Definition at line 117 of file IOVSequence.h.
Referenced by disorder(), iovs(), operator=(), sortMe(), and ~IOVSequence().
|
private |
Definition at line 101 of file IOVSequence.h.
Referenced by operator=(), and timeType().