|
MNX Document Model
|
Identifies a specific staff within a specific part. More...
#include <LayoutHelpers.h>
Public Member Functions | |
| bool | operator== (const StaffKey &o) const noexcept |
| Equality comparison. | |
Public Attributes | |
| std::string | partId |
| The ID of the part. | |
| int | staffNo = 1 |
| The 1-based staff number within the part. | |
Identifies a specific staff within a specific part.
A StaffKey uniquely identifies a part staff by pairing the part ID with the 1-based staff index within that part. It is used to reason about layout–part correspondence when validating or selecting conventional score layouts.