|
resonance 1.0.1
|

Go to the source code of this file.
Functions | |
| template<typename T> | |
| bool | TickObjLess (TickObj< T > first, TickObj< T > second) |
| Order two entries by song position. | |
| template<typename T> | |
| bool | TickObjBefore (int nTick, TickObj< T > entry) |
| Report whether a song position comes strictly before an entry. | |
| template<typename T> | |
| bool | TickObjAfter (TickObj< T > entry, int nTick) |
| Report whether an entry comes strictly before a song position. | |
| template<typename T> | |
| std::vector< TickObj< T > >::iterator | UpperBoundByEntry (std::vector< TickObj< T > > &values, const TickObj< T > &value) |
| Find the first entry a value strictly precedes. | |
| template<typename T> | |
| std::vector< TickObj< T > >::iterator | LowerBoundByEntry (std::vector< TickObj< T > > &values, const TickObj< T > &value) |
| Find the first entry a value does not follow. | |
| template<typename T> | |
| std::vector< TickObj< T > >::const_iterator | UpperBoundByTick (const std::vector< TickObj< T > > &values, int nTick) |
| Find the first entry a song position strictly precedes. | |
| template<typename T> | |
| std::vector< TickObj< T > >::const_iterator | LowerBoundByTick (const std::vector< TickObj< T > > &values, int nTick) |
| Find the first entry at or after a song position. | |
| template<typename T> | |
| std::vector< TickObj< T > >::const_iterator | FindAtOrBefore (const std::vector< TickObj< T > > &values, int nTick) |
| Find the last entry at or before a song position. | |
| template<typename T> | |
| std::vector< TickObj< T > >::const_iterator | FindAtOrAfter (const std::vector< TickObj< T > > &values, int nTick) |
| Find the first entry at or after a song position. | |
| template<typename T> | |
| void | InsertSorted (std::vector< TickObj< T > > &values, const TickObj< T > &value) |
| Insert an entry at its sorted place, after every entry at the same position. | |
| template<typename T> | |
| void | SetAtTick (std::vector< TickObj< T > > &values, const T &value, int nTick) |
| Store a value at a song position, overwriting the first entry already at that position. | |
| template<typename T> | |
| void | InsertAtLowerBound (std::vector< TickObj< T > > &values, const TickObj< T > &value) |
| Insert an entry before every entry at the same position, always searching first. | |
| template<typename T> | |
| void | InsertAtTick (std::vector< TickObj< T > > &values, const T &value, int nTick) |
| Insert a value at a song position, after every entry at the same position. | |
Order two entries by song position.
Instantiated for TickObj<float> at 0x001b7068 in the Phrase unit, and three times in the TrackData unit.
| first | The first entry. |
| second | The second entry. |
| bool TickObjBefore | ( | int | nTick, |
| TickObj< T > | entry ) |
Report whether a song position comes strictly before an entry.
| nTick | The song position, in MIDI ticks. |
| entry | The entry. |
| bool TickObjAfter | ( | TickObj< T > | entry, |
| int | nTick ) |
Report whether an entry comes strictly before a song position.
| entry | The entry. |
| nTick | The song position, in MIDI ticks. |
| std::vector< TickObj< T > >::iterator UpperBoundByEntry | ( | std::vector< TickObj< T > > & | values, |
| const TickObj< T > & | value ) |
Find the first entry a value strictly precedes.
| values | The entries, sorted by position. |
| value | The value to place. |
| std::vector< TickObj< T > >::iterator LowerBoundByEntry | ( | std::vector< TickObj< T > > & | values, |
| const TickObj< T > & | value ) |
Find the first entry a value does not follow.
| values | The entries, sorted by position. |
| value | The value to place. |
| std::vector< TickObj< T > >::const_iterator UpperBoundByTick | ( | const std::vector< TickObj< T > > & | values, |
| int | nTick ) |
Find the first entry a song position strictly precedes.
| values | The entries, sorted by position. |
| nTick | The song position, in MIDI ticks. |
| std::vector< TickObj< T > >::const_iterator LowerBoundByTick | ( | const std::vector< TickObj< T > > & | values, |
| int | nTick ) |
Find the first entry at or after a song position.
| values | The entries, sorted by position. |
| nTick | The song position, in MIDI ticks. |
| std::vector< TickObj< T > >::const_iterator FindAtOrBefore | ( | const std::vector< TickObj< T > > & | values, |
| int | nTick ) |
Find the last entry at or before a song position.
| values | The entries, sorted by position. |
| nTick | The song position, in MIDI ticks. |
| std::vector< TickObj< T > >::const_iterator FindAtOrAfter | ( | const std::vector< TickObj< T > > & | values, |
| int | nTick ) |
Find the first entry at or after a song position.
| values | The entries, sorted by position. |
| nTick | The song position, in MIDI ticks. |
| void InsertSorted | ( | std::vector< TickObj< T > > & | values, |
| const TickObj< T > & | value ) |
Insert an entry at its sorted place, after every entry at the same position.
An entry that does not precede the last one is appended without a search.
| values | The entries, sorted by position. |
| value | The entry to insert. |
| void SetAtTick | ( | std::vector< TickObj< T > > & | values, |
| const T & | value, | ||
| int | nTick ) |
Store a value at a song position, overwriting the first entry already at that position.
| values | The entries, sorted by position. |
| value | The value. |
| nTick | The song position, in MIDI ticks. |
| void InsertAtLowerBound | ( | std::vector< TickObj< T > > & | values, |
| const TickObj< T > & | value ) |
Insert an entry before every entry at the same position, always searching first.
MultiMuse::Add() takes this path when it is told not to try appending.
| values | The entries, sorted by position. |
| value | The entry to insert. |
| void InsertAtTick | ( | std::vector< TickObj< T > > & | values, |
| const T & | value, | ||
| int | nTick ) |
Insert a value at a song position, after every entry at the same position.
| values | The entries, sorted by position. |
| value | The value. |
| nTick | The song position, in MIDI ticks. |