|
| | Entry (const DocumentWeakPtr &document, Cmper partId, ShareMode shareMode, EntryNumber entnum, EntryNumber prev, EntryNumber next) |
| | Constructor function.
|
| |
|
EntryNumber | getEntryNumber () const |
| | Gets the entry number for this entry.
|
| |
| MusxInstance< Entry > | getNext () const |
| | Gets the next entry in this list or nullptr if none.
|
| |
| MusxInstance< Entry > | getPrevious () const |
| | Gets the previous entry in this list or nullptr if none.
|
| |
|
Duration | calcDurationInfo () const |
| | Calculates the NoteType and number of augmentation dots. (See calcDurationInfoFromEdu.)
|
| |
|
util::Fraction | calcFraction () const |
| | Calculates the duration as a util::Fraction of a whole note.
|
| |
| bool | hasStem () const |
| | Returns true if the entry's duration has a stem.
|
| |
| bool | isPossibleFullMeasureRest () const |
| | Returns true if the entry could be a full-measure rest.
|
| |
| void | integrityCheck (const std::shared_ptr< Base > &ptrToThis) override |
| | Allows a class to determine if it has been properly contructed by the factory and fix issues that it can, such as creating default instances of contained classes.
|
| |
|
virtual | ~Base () noexcept(false)=default |
| | Virtual destructor for polymorphic behavior.
|
| |
| DocumentPtr | getDocument () const |
| | Gets a reference to the Document.
|
| |
| Cmper | getSourcePartId () const |
| | Gets the source partId for this instance. If an instance is fully shared with the score, the source is SCORE_PARTID. If an instance is partially shared or non shared, the source is the ID of the part that sourced it.
|
| |
|
ShareMode | getShareMode () const |
| | Gets the sharing mode for this instance.
|
| |
|
const SharedNodes & | getUnlinkedNodes () const |
| | Gets the unlinked nodes for this instance. (Only populated for ShareMode::Partial)
|
| |
|
void | addUnlinkedNode (const std::string &nodeName) |
| | Adds a shared node for this instance.
|
| |
| virtual bool | requireAllFields () const |
| | Specifies if the parser should alert (print or throw) when an unknown xml tag is found for this class.
|
| |
|
| Edu | duration {} |
| | Duration of the entry, not taking into account tuplets.
|
| |
|
int | numNotes {} |
| | Number of notes in the entry. There is an error if this is not the same as notes.size().
|
| |
|
Evpu | hOffsetScore {} |
| | Manual offset created with the Note Position Tool in the score. (xml node is <posi>.)
|
| |
|
bool | isValid {} |
| | Should always be true but otherwise appears to be used internally by Finale.
|
| |
|
bool | isNote {} |
| | If this value is false, the entry is a rest.
|
| |
|
bool | v2Launch {} |
| | Indicates if this entry (which is voice1) launches a voice2 sequence. (xml node is <controller>)
|
| |
|
bool | voice2 {} |
| | This is a V2 note. (xml node <v2>)
|
| |
|
bool | createdByHP {} |
| | Indicates the entry was created by Finale's smart playback engine.
|
| |
|
bool | playDisabledByHP {} |
| | Used by Finale's smart playback engine.
|
| |
|
bool | graceNote {} |
| | Indicate the entry is a grace note.
|
| |
|
bool | noteDetail {} |
| | Indicates there is a note detail or EntrySize record for the entry.
|
| |
|
bool | articDetail {} |
| | Indicates there is an articulation on the entry.
|
| |
|
bool | lyricDetail {} |
| | Indicates there is a lyric assignment on the entry.
|
| |
|
bool | tupletStart {} |
| | Indicates that a tuplet start on the entry.
|
| |
|
bool | splitRest {} |
| | Indicates that rests in different layers are not combined on this entry.
|
| |
|
bool | performanceData {} |
| | Indicates there is performance data on the entry.
|
| |
|
bool | floatRest {} |
| | Is floating rest. If false, the first note element gives the staff position of the rest.
|
| |
|
bool | isHidden {} |
| | Indicates the entry is hidden, (xml node is <ignore>)
|
| |
|
bool | beamExt {} |
| | Indicates that there is a beam extension on the entry.
|
| |
|
bool | flipTie {} |
| | Indicates the existence of a flipped tie, either in Speedy Entry or Layer Attributes.
|
| |
|
bool | dotTieAlt {} |
| | Indicates dot or tie alterations are present.
|
| |
|
bool | beam {} |
| | Signifies the start of a beam or singleton entry. (That is, any beam breaks at this entry.)
|
| |
|
bool | secBeam {} |
| | Signifies a secondary beam break occurs on the entry.
|
| |
|
bool | freezeStemScore {} |
| | Freeze stem flag in the score. (upStemScore gives the direction.)
|
| |
|
bool | stemDetail {} |
| | Indicates there are stem modifications.
|
| |
|
bool | crossStaff {} |
| | Signifies that at least one note in the entry has been cross staffed.
|
| |
|
bool | reverseUpStem {} |
| | Indicates that a stem normally up is reversed.
|
| |
|
bool | reverseDownStem {} |
| | Indicates that a stem normally down is reversed.
|
| |
|
bool | doubleStem {} |
| | Creates a double stem on the entry. (Appears to be exclusive with splitStem.)
|
| |
| bool | splitStem {} |
| |
|
bool | upStemScore {} |
| | Whether a stem is up or down as set in the score. (Only reliable when freezeStemScore is true.)
|
| |
|
bool | checkAccis {} |
| | Used by Finale to convert pre-2014 .mus files. May never be saved in .musx.
|
| |
| bool | dummy {} |
| |
|
bool | smartShapeDetail {} |
| | Indicates this entry has a smart shape assignment.
|
| |
|
bool | noLeger {} |
| | Hide ledger lines.
|
| |
|
bool | sorted {} |
| | Sorted flag.
|
| |
| bool | slashGrace {} |
| |
|
bool | flatBeam {} |
| | Forces any beam that starts on this entry to be flat by default.
|
| |
|
bool | noPlayback {} |
| | Indicates that the entry should not be played back.
|
| |
|
bool | noSpacing {} |
| | Indicates that the entry should be ignored when calculating music spacing.
|
| |
|
bool | freezeBeam {} |
| | Freeze beam flag (Derived from the presence of <freezeBeam> node.)
|
| |
|
std::vector< std::shared_ptr< Note > > | notes |
| | Collection of notes that comprise the entry. These are in order from lowest to highest.
|
| |
|
struct musx::dom::Entry::EntryLocation | location |
| | The location of this entry.
|
| |
|
| enum class | ShareMode { All
, Partial
, None
} |
| | Describes how this instance is shared between part and score. More...
|
| |
|
using | SharedNodes = std::set< std::string > |
| | The container type for shared nodes.
|
| |
| | Base (const DocumentWeakPtr &document, Cmper partId, ShareMode shareMode) |
| | Constructs the base class.
|
| |
|
| Base (const Base &)=default |
| | explicit default copy constructor
|
| |
|
| Base (Base &&) noexcept=default |
| | explicit default move constructor
|
| |
|
Base & | operator= (const Base &) |
| | no-op copy assignment operator allows subclasses to copy their values.
|
| |
|
Base & | operator= (Base &&) noexcept |
| | no-op move assignment operator allows subclasses to move their values.
|
| |
Represents an entry containing metadata and notes.
This class is identified by the XML node name "entry".