Represents a vector of EntryInfo instances for a given frame, along with computed information.
More...
#include <Entries.h>
|
std::vector< TupletInfo > | tupletInfo |
| A list of the tuplets in the frame and their calculated starting and ending information.
|
|
std::shared_ptr< KeySignature > | keySignature |
| this can be different than the measure key sig if the staff has independent key signatures
|
|
Represents a vector of EntryInfo instances for a given frame, along with computed information.
Its pointers are owned by EntryInfoPtr
◆ EntryFrame()
Constructor function.
- Parameters
-
◆ calcIsCueFrame()
bool musx::dom::EntryFrame::calcIsCueFrame |
( |
| ) |
const |
Calculates if this entry frame is part of a cue.
- Todo:
- Revisit this algorithm if needed. The current algorithm is chosen to be mostly accurate while being fast to compute when there is no cue.
- Returns
- true if all entries in the frame are either cue entries or hidden.
◆ createCurrentStaff()
std::shared_ptr< others::StaffComposite > musx::dom::EntryFrame::createCurrentStaff |
( |
Edu |
eduPosition, |
|
|
const std::optional< InstCmper > & |
forStaffId = std::nullopt |
|
) |
| const |
Creates a current StaffComposite for the entry frame.
- Parameters
-
eduPosition | The Edu position for which to create the staff. |
forStaffId | Specifies optional staff ID. If supplied, it overrides the entry's staff ID. (Useful when notes are cross-staffed.) |
◆ getFirstInVoice()
EntryInfoPtr musx::dom::EntryFrame::getFirstInVoice |
( |
int |
voice | ) |
const |
Returns the first entry in the specified v1/v2 or null if none.
- Parameters
-
◆ getLastInVoice()
EntryInfoPtr musx::dom::EntryFrame::getLastInVoice |
( |
int |
voice | ) |
const |
Returns the last entry in the specified v1/v2 or null if none.
- Parameters
-
◆ getNext()
std::shared_ptr< const EntryFrame > musx::dom::EntryFrame::getNext |
( |
| ) |
const |
Gets the entry frame for the next measure with the same staff and layer.
- Returns
- Frame or nullpter if the next measure has no matching frame.
◆ getPrevious()
std::shared_ptr< const EntryFrame > musx::dom::EntryFrame::getPrevious |
( |
| ) |
const |
Gets the entry frame for the previous measure with the same staff and layer.
- Returns
- Frame or nullpter if the previous measure has no matching frame,
◆ tupletInfo
std::vector<TupletInfo> musx::dom::EntryFrame::tupletInfo |
A list of the tuplets in the frame and their calculated starting and ending information.
- Note
- Tuplets that start on grace notes are omitted from this list. Finale does not display them, and it is not possible to calculate their endpoints correctly in the general case. (Which is probably why Finale does not display them.)