|
MUSX Document Model
|
Generic resolver for a family of staff lists. More...
#include <Others.h>
Public Member Functions | |
| StaffListSet (const DocumentPtr &document, Cmper partId, Cmper staffListId) noexcept | |
| Constructor function. | |
| bool | contains (StaffCmper staffId, const MusxInstanceList< StaffUsed > &systemStaves, bool isHidden=false) const noexcept |
| Returns true is the staff list includes a particular staff on a particular system. | |
Generic resolver for a family of staff lists.
| ScoreList | list class used for score |
| PartsList | list class used for parts |
| ScoreForcedList | (optional) forced list class for score |
| PartsForcedList | (optional) forced list class for parts |
|
noexcept |
Returns true is the staff list includes a particular staff on a particular system.
| staffId | The StaffCmper to check. |
| systemStaves | The staves for a particular system (or BASE_SYSTEM_ID). |
| isHidden | If true, only the forced staff list is checked. Normally you will omit this for categories or pass Staff::hideRepeats for repeats. |