#include <ValidityInterval.h>
Public Member Functions | |
const IOVSyncValue & | first () const |
const IOVSyncValue & | last () const |
bool | operator!= (const ValidityInterval &iRHS) const |
bool | operator== (const ValidityInterval &iRHS) const |
void | setFirst (const IOVSyncValue &iTime) |
void | setLast (const IOVSyncValue &iTime) |
bool | validFor (const IOVSyncValue &) const |
ValidityInterval (const IOVSyncValue &iFirst, const IOVSyncValue &iLast) | |
ValidityInterval () | |
Static Public Member Functions | |
static const ValidityInterval & | invalidInterval () |
Private Attributes | |
IOVSyncValue | first_ |
IOVSyncValue | last_ |
Definition at line 28 of file ValidityInterval.h.
ValidityInterval::ValidityInterval | ( | ) |
Definition at line 30 of file ValidityInterval.cc.
ValidityInterval::ValidityInterval | ( | const IOVSyncValue & | iFirst, |
const IOVSyncValue & | iLast | ||
) |
Definition at line 36 of file ValidityInterval.cc.
const IOVSyncValue& edm::ValidityInterval::first | ( | ) | const [inline] |
Definition at line 40 of file ValidityInterval.h.
References first_.
Referenced by edm::PrintEventSetupContent::print(), edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor(), and edm::eventsetup::EventSetupRecordProvider::setValidityIntervalFor().
{ return first_; }
const ValidityInterval & ValidityInterval::invalidInterval | ( | ) | [static] |
Definition at line 80 of file ValidityInterval.cc.
Referenced by edm::EmptyESSource::setIntervalFor(), CondDBESSource::setIntervalFor(), edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), and edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor().
{ static const ValidityInterval s_invalid; return s_invalid; }
const IOVSyncValue& edm::ValidityInterval::last | ( | ) | const [inline] |
Definition at line 41 of file ValidityInterval.h.
References last_.
Referenced by edm::PrintEventSetupContent::print(), edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), and edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor().
{ return last_; }
bool edm::ValidityInterval::operator!= | ( | const ValidityInterval & | iRHS | ) | const [inline] |
Definition at line 47 of file ValidityInterval.h.
{ return ! (*this == iRHS); }
bool edm::ValidityInterval::operator== | ( | const ValidityInterval & | iRHS | ) | const [inline] |
void edm::ValidityInterval::setFirst | ( | const IOVSyncValue & | iTime | ) | [inline] |
Definition at line 55 of file ValidityInterval.h.
References first_.
Referenced by edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), and edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor().
{ first_ = iTime; }
void edm::ValidityInterval::setLast | ( | const IOVSyncValue & | iTime | ) | [inline] |
Definition at line 58 of file ValidityInterval.h.
References last_.
Referenced by edm::eventsetup::IntersectingIOVRecordIntervalFinder::setIntervalFor(), and edm::eventsetup::DependentRecordIntervalFinder::setIntervalFor().
{ last_ = iTime; }
bool ValidityInterval::validFor | ( | const IOVSyncValue & | iInstance | ) | const |
Definition at line 71 of file ValidityInterval.cc.
Referenced by edm::eventsetup::EventSetupRecordProvider::setValidityIntervalFor().
IOVSyncValue edm::ValidityInterval::first_ [private] |
Definition at line 68 of file ValidityInterval.h.
Referenced by first(), operator==(), setFirst(), and validFor().
IOVSyncValue edm::ValidityInterval::last_ [private] |
Definition at line 69 of file ValidityInterval.h.
Referenced by last(), operator==(), setLast(), and validFor().