MuseScore  3.4
Music composition and notation
Public Member Functions | Private Attributes | List of all members
Ms::NoteList Class Reference

List of note start/stop times in a voice in all staves. More...

#include <musicxmlsupport.h>

Public Member Functions

 NoteList ()
 
void addNote (const int startTick, const int endTick, const int staff)
 
void dump (const QString &voice) const
 
bool stavesOverlap (const int staff1, const int staff2) const
 Determine if any note in staff1 and staff2 overlaps. More...
 
bool anyStaffOverlaps () const
 Determine if any note in any staff overlaps. More...
 

Private Attributes

QList< StartStopList_staffNoteLists
 The note start/stop times in all staves. More...
 

Detailed Description

List of note start/stop times in a voice in all staves.

Constructor & Destructor Documentation

◆ NoteList()

Ms::NoteList::NoteList ( )

Member Function Documentation

◆ addNote()

void Ms::NoteList::addNote ( const int  startTick,
const int  endTick,
const int  staff 
)

◆ anyStaffOverlaps()

bool Ms::NoteList::anyStaffOverlaps ( ) const

Determine if any note in any staff overlaps.

◆ dump()

void Ms::NoteList::dump ( const QString &  voice) const

◆ stavesOverlap()

bool Ms::NoteList::stavesOverlap ( const int  staff1,
const int  staff2 
) const

Determine if any note in staff1 and staff2 overlaps.

Member Data Documentation

◆ _staffNoteLists

QList<StartStopList> Ms::NoteList::_staffNoteLists
private

The note start/stop times in all staves.


The documentation for this class was generated from the following files: