comparison data/model/NoteModel.h @ 1656:e4084bc60fe8 single-point

Test & fixes for getEventsStartingAt
author Chris Cannam
date Wed, 20 Mar 2019 14:58:56 +0000
parents 0cfb882155a6
children 31b46a5647db
comparison
equal deleted inserted replaced
1655:0cfb882155a6 1656:e4084bc60fe8
159 return m_events.getAllEvents(); 159 return m_events.getAllEvents();
160 } 160 }
161 EventVector getEventsSpanning(sv_frame_t f, sv_frame_t duration) const { 161 EventVector getEventsSpanning(sv_frame_t f, sv_frame_t duration) const {
162 return m_events.getEventsSpanning(f, duration); 162 return m_events.getEventsSpanning(f, duration);
163 } 163 }
164 EventVector getEventsCovering(sv_frame_t f) const {
165 return m_events.getEventsCovering(f);
166 }
164 EventVector getEventsWithin(sv_frame_t f, sv_frame_t duration) const { 167 EventVector getEventsWithin(sv_frame_t f, sv_frame_t duration) const {
165 return m_events.getEventsWithin(f, duration); 168 return m_events.getEventsWithin(f, duration);
166 } 169 }
167 EventVector getEventsStartingWithin(sv_frame_t f, sv_frame_t duration) const { 170 EventVector getEventsStartingWithin(sv_frame_t f, sv_frame_t duration) const {
168 return m_events.getEventsStartingWithin(f, duration); 171 return m_events.getEventsStartingWithin(f, duration);
169 } 172 }
170 EventVector getEventsCovering(sv_frame_t f) const { 173 EventVector getEventsStartingAt(sv_frame_t f) const {
171 return m_events.getEventsCovering(f); 174 return m_events.getEventsStartingAt(f);
172 } 175 }
173 176
174 /** 177 /**
175 * Editing methods. 178 * Editing methods.
176 */ 179 */