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
-
gfhold | The details::GFrameHoldContext instance creating this EntryFrame |
staff | The Cmper for the others::Staff of the entry |
measure | The Cmper for the others::Measure of the entry |
layerIndex | The LayerIndex (0..3) of the entry |
forWrittenPitch | If true, the key and clef for each entry are calculated for written pitch rather than concert pitch. |
timeStretch | The ratio of global Edu to staff edu. |
◆ 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,
◆ isForWrittenPitch()
bool musx::dom::EntryFrame::isForWrittenPitch |
( |
| ) |
const |
|
inline |
Returns if this entry frame was created for written pitch.
- Returns
- True if for written pitch, false if for sounding pitch (i.e., concert pitch)
◆ 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.)