Represents a document object that encapsulates the entire EnigmaXML structure.
More...
|
|
HeaderPtr & | getHeader () |
| | Retrieves the header.
|
| |
|
const HeaderPtr & | getHeader () const |
| | Retrieves the const header.
|
| |
|
OptionsPoolPtr & | getOptions () |
| | Retrieves the options pool.
|
| |
|
const OptionsPoolPtr & | getOptions () const |
| | Retrieves the const options pool.
|
| |
|
OthersPoolPtr & | getOthers () |
| | Retrieves the others pool.
|
| |
|
const OthersPoolPtr & | getOthers () const |
| | Retrieves the const others pool.
|
| |
|
DetailsPoolPtr & | getDetails () |
| | Retrieves the details pool.
|
| |
|
const DetailsPoolPtr & | getDetails () const |
| | Retrieves the const others pool.
|
| |
|
EntryPoolPtr & | getEntries () |
| | Retrieves the entry pool.
|
| |
|
const EntryPoolPtr & | getEntries () const |
| | Retrieves the entry others pool.
|
| |
|
TextsPoolPtr & | getTexts () |
| | Retrieves the texts pool.
|
| |
|
const TextsPoolPtr & | getTexts () const |
| | Retrieves the const texts pool.
|
| |
|
PartVoicingPolicy | getPartVoicingPolicy () const |
| | Retrieves the document's part voicing policy.
|
| |
|
std::optional< double > | getScoreDurationSeconds () const |
| | Returns the score playback duration in seconds, if provided by NotationMetadata.xml.
|
| |
|
const EmbeddedGraphicsMap & | getEmbeddedGraphics () const |
| | Returns all embedded graphics keyed by graphic cmper.
|
| |
| constexpr Cmper | calcScrollViewCmper (Cmper partId) const noexcept |
| | Returns the Scroll View Cmper for the given partId.
|
| |
| MusxInstanceList< others::StaffUsed > | getScrollViewStaves (Cmper partId) const |
| | Returns the Scroll View staves for the given partId.
|
| |
| MusxInstanceList< others::StaffUsed > | getStudioViewStaves (Cmper partId) const |
| | Returns the Studio View staves for the given partId. Normally this is only one staff and is invariant between parts.
|
| |
|
std::optional< KnownShapeDefType > | getCachedShapeRecognition (Cmper shapeCmper) const |
| | Retrieves a cached shape recognition result, if available.
|
| |
|
void | setCachedShapeRecognition (Cmper shapeCmper, KnownShapeDefType type) const |
| | Stores a shape recognition result in the cache.
|
| |
|
std::optional< bool > | getCachedFontIsSMuFL (Cmper fontId) const |
| | Retrieves a cached SMuFL font recognition result, if available.
|
| |
|
void | setCachedFontIsSMuFL (Cmper fontId, bool isSmufl) const |
| | Stores a SMuFL font recognition result in the cache.
|
| |
| MusxInstance< others::Page > | calcPageFromMeasure (Cmper partId, MeasCmper measureId) const |
| | Searches pages to find the page that contains the measure.
|
| |
| MusxInstance< others::StaffSystem > | calcSystemFromMeasure (Cmper partId, MeasCmper measureId) const |
| | Searches systems to find the system that contains the measure.
|
| |
|
int | getMaxBlankPages () const |
| | Returns the maximum number of blank pages in any part. This is calculated by factory::DocumentFactory::create.
|
| |
|
const InstrumentMap & | getInstruments () const |
| | Returns the instrument map for this document. It is computed by the factory.
|
| |
| const std::optional< InstrumentMap > & | getInstrumentsIfAvailable () const noexcept |
| | Returns the optional instrument map, which is empty until the map has been constructed.
|
| |
|
const std::optional< std::filesystem::path > & | getSourcePath () const |
| | Returns the path to the musx (or EnigmaXML) file used to create this document, if provided.
|
| |
| std::optional< std::filesystem::path > | resolveExternalGraphicPath (Cmper fileDescId) const |
| | Resolve an external graphic path using SCORE_PARTID.
|
| |
| const InstrumentInfo & | getInstrumentForStaff (StaffCmper staffId) const |
| | Get the instrument info for the given staffId.
|
| |
| std::optional< InstrumentInfo > | getInstrumentForStaff (Cmper partId, StaffCmper staffId) const |
| | Get the instrument info for the given staffId in the specified part.
|
| |
| std::optional< RehearsalMarkInfo > | getRehearsalMarkInfo (MeasCmper measureId, Cmper textExpressionId) const |
| | Returns the rehearsal mark info for a rehearsal mark text expression assignment.
|
| |
| InstrumentMap | createInstrumentMap (Cmper forPartId) const |
| | Builds an instrument map for the specified linked part ID.
|
| |
| bool | calcHasVaryingSystemStaves (Cmper forPartId) const |
| | Calculate if the current score/part has staves that differ from system to system.
|
| |
|
MusicRange | calcEntireDocument () const |
| | Calcuate a MusicRange instance for the entire document.
|
| |
| std::vector< MeasCmper > | calcJumpFromMeasures (Cmper partId, MeasCmper currentMeasure) const |
| | Calculates the measures from which playback jumped into currentMeasure.
|
| |
| bool | iterateEntries (Cmper partId, std::function< bool(const EntryInfoPtr &)> iterator) const |
| | Iterate all entries in the document by staff and then measure. This function wraps MusxInstanceList<others::StaffUsed>::iterateEntries.
|
| |
Represents a document object that encapsulates the entire EnigmaXML structure.