85 std::vector<int> mEnds;
int SectionAt(int nMeasure) const
Report the section a measure lies in.
int SectionEnd(int nSection) const
Report the measure at which a section ends.
int SectionStart(int nSection) const
Report the measure at which a section starts.
void GetSectionRange(int nSection, int *pStart, int *pEnd) const
Report the measures a section spans.
SectionBoundaries(std::vector< int > ends)
Construct the list from the end measures.
Definition sectionboundaries.h:21
bool IsPastEnd(int nMeasure) const
Report whether a measure lies at or after the end of the last section.
int NumSections() const
Report the number of sections.
SectionBoundaries()=default