comparison base/EventSeries.cpp @ 1644:513192aa9b03 single-point

Further API updates
author Chris Cannam
date Wed, 13 Mar 2019 16:00:13 +0000
parents d591836e47ef
children eaad70939848
comparison
equal deleted inserted replaced
1643:7a23dfe65d66 1644:513192aa9b03
361 } 361 }
362 362
363 return cover; 363 return cover;
364 } 364 }
365 365
366 EventVector
367 EventSeries::getAllEvents() const
368 {
369 return m_events;
370 }
371
366 bool 372 bool
367 EventSeries::getEventPreceding(const Event &e, Event &preceding) const 373 EventSeries::getEventPreceding(const Event &e, Event &preceding) const
368 { 374 {
369 auto pitr = lower_bound(m_events.begin(), m_events.end(), e); 375 auto pitr = lower_bound(m_events.begin(), m_events.end(), e);
370 if (pitr == m_events.end() || *pitr != e) { 376 if (pitr == m_events.end() || *pitr != e) {