19 namespace eventsetup {
77 bool haveAValidRecord =
false;
78 bool haveUnknownEnding =
false;
81 for(std::vector<boost::shared_ptr<EventSetupRecordIntervalFinder> >::iterator it =
finders_.begin(),
82 itEnd =
finders_.end(); it != itEnd; ++it) {
85 haveAValidRecord =
true;
89 if(newInterval.
last() > test.
last()) {
93 haveUnknownEnding=
true;
98 haveUnknownEnding=
true;
102 if(!haveAValidRecord) {
105 }
else if(haveUnknownEnding) {
108 oInterval = newInterval;
void setFirst(const IOVSyncValue &iTime)
static const IOVSyncValue & endOfTime()
const IOVSyncValue & last() const
void swapFinders(std::vector< boost::shared_ptr< EventSetupRecordIntervalFinder > > &)
virtual void setIntervalFor(const EventSetupRecordKey &, const IOVSyncValue &, ValidityInterval &)
static const IOVSyncValue & beginOfTime()
std::vector< boost::shared_ptr< EventSetupRecordIntervalFinder > > finders_
void setLast(const IOVSyncValue &iTime)
IntersectingIOVRecordIntervalFinder(const EventSetupRecordKey &)
static const ValidityInterval & invalidInterval()
const IOVSyncValue & first() const
virtual ~IntersectingIOVRecordIntervalFinder()
void findingRecordWithKey(const eventsetup::EventSetupRecordKey &)
static const IOVSyncValue & invalidIOVSyncValue()