comparison base/EventSeries.h @ 1633:6ac92836cd86 single-point

Further test & fixes
author Chris Cannam
date Tue, 12 Mar 2019 14:56:31 +0000
parents 0890c10e5129
children e8e51f3ca120
comparison
equal deleted inserted replaced
1632:0890c10e5129 1633:6ac92836cd86
96 * preceding unchanged and return false. 96 * preceding unchanged and return false.
97 * 97 *
98 * If there are multiple events identical to e in the series, 98 * If there are multiple events identical to e in the series,
99 * assume that the event passed in is the first one (i.e. never 99 * assume that the event passed in is the first one (i.e. never
100 * set preceding equal to e). 100 * set preceding equal to e).
101 *
102 * It is acceptable for preceding to alias e when this is called.
101 */ 103 */
102 bool getEventPreceding(const Event &e, Event &preceding) const; 104 bool getEventPreceding(const Event &e, Event &preceding) const;
103 105
104 /** 106 /**
105 * If e is in the series and is not the final event in it, set 107 * If e is in the series and is not the final event in it, set
108 * following unchanged and return false. 110 * following unchanged and return false.
109 * 111 *
110 * If there are multiple events identical to e in the series, 112 * If there are multiple events identical to e in the series,
111 * assume that the event passed in is the last one (i.e. never set 113 * assume that the event passed in is the last one (i.e. never set
112 * following equal to e). 114 * following equal to e).
115 *
116 * It is acceptable for following to alias e when this is called.
113 */ 117 */
114 bool getEventFollowing(const Event &e, Event &following) const; 118 bool getEventFollowing(const Event &e, Event &following) const;
115 119
116 /** 120 /**
117 * Return the event at the given numerical index in the series, 121 * Return the event at the given numerical index in the series,