Provides run-time information about Staff Groups within a system or list of others::StaffUsed.
More...
#include <Details.h>
|
|
std::optional< size_t > | startSlot |
| | the 0-based start slot (index) of the group in the system staves.
|
| |
|
std::optional< size_t > | endSlot |
| | the 0-based end slot (index) of the group in the system staves.
|
| |
|
MusxInstance< StaffGroup > | group |
| | the StaffGroup record for the group.
|
| |
|
MusxInstanceList< others::StaffUsed > | systemStaves |
| | the system staves referred to by startSlot and endSlot
|
| |
Provides run-time information about Staff Groups within a system or list of others::StaffUsed.
◆ StaffGroupInfo()
Constructs information about a specific StaffGroup as it relates the the systemStaves.
- Parameters
-
| staffGroup | The staff group |
| inpSysStaves | The others::StaffUsed list for a system or Scroll view. |
◆ calcIsSingleInstrumentSection()
| bool musx::dom::details::StaffGroupInfo::calcIsSingleInstrumentSection |
( |
MeasCmper |
measureId | ) |
const |
Returns true if this staff group spans multiple staves with the same exact instrument UUID, excluding groups that represent one logical instrument in the document's instrument map.
- Parameters
-
| measureId | The measure for which to evaluate staff styles and group membership. |
◆ getGroupsAtMeasure()
Creates a vector of StaffGroupInfo instances for the measure, part, and system staves.
- Parameters
-
| measureId | The measure to find. |
| linkedPartId | The ID of the linked part in which to find the groups. |
| systemStaves | The others::StaffUsed list for a system or Scroll view. |
◆ iterateStaves()
Iterates the staves in the group in order according to systemStaves.
- Parameters
-
| measId | The measure for which to construct each others::StaffComposite instance. |
| eduPosition | The Edu position for which to construct each others::StaffComposite instance. |
| iterator | The iterator function. Returning false from this function terminates iteration. |