|
wavelength 1.0.0
|
The events of the track of a song named "WORLD", sorted by tick. More...
#include <worldtrack.h>
Public Member Functions | |
| WorldTrack () | |
| Construct the track with seven empty event lists. | |
| ~WorldTrack () | |
| Release the event lists. | |
| void | Insert (int nTick, char cLetter) |
| Add the tick of an event to the list of its letter, keeping the list sorted. | |
| std::vector< int > * | GetEvents (char cLetter) |
| Report the event list of a letter. | |
Static Public Attributes | |
| static constexpr char | kFirstLetter = 'A' |
| The letter of the first event list. | |
| static constexpr int | kListCount = 7 |
| The number of event lists, one for each letter from A to G. | |
The events of the track of a song named "WORLD", sorted by tick.
The class is not polymorphic and has no RTTI. The name is inferred from the track name. The object is 0x10 bytes. The constructor makes seven empty event lists.
| WorldTrack::WorldTrack | ( | ) |
Construct the track with seven empty event lists.
| WorldTrack::~WorldTrack | ( | ) |
Release the event lists.
| void WorldTrack::Insert | ( | int | nTick, |
| char | cLetter ) |
Add the tick of an event to the list of its letter, keeping the list sorted.
The name is inferred.
| nTick | The tick. |
| cLetter | The letter, from A to G. |
| std::vector< int > * WorldTrack::GetEvents | ( | char | cLetter | ) |
Report the event list of a letter.
The name is inferred.
| cLetter | The letter, from A to G. |
|
staticconstexpr |
The letter of the first event list.
|
staticconstexpr |
The number of event lists, one for each letter from A to G.