|
MUSX Document Model
|
Optional arguments for document creation. More...
#include <DocumentFactory.h>
Classes | |
| struct | EmbeddedGraphicFile |
| Raw embedded graphic file payload from a musx archive. More... | |
Public Types | |
| using | EmbeddedGraphicFiles = std::vector< EmbeddedGraphicFile > |
| Embedded graphic files provided by caller. | |
Public Member Functions | |
| CreateOptions ()=default | |
| Default constructor. | |
| CreateOptions (dom::PartVoicingPolicy policy) | |
| Construct options with a part-voicing policy. | |
| CreateOptions (std::filesystem::path inputFilepath, std::vector< char > notationMetadata, EmbeddedGraphicFiles embeddedGraphicFiles, dom::PartVoicingPolicy policy=dom::PartVoicingPolicy::Ignore) | |
| Construct options with explicit inputs. | |
| const std::vector< char > & | getNotationMetadata () const |
| Optional NotationMetadata.xml content. | |
| const dom::EmbeddedGraphicsMap & | getEmbeddedGraphics () const |
| Embedded graphics keyed by graphic cmper. | |
| const std::optional< std::filesystem::path > & | getSourcePath () const |
| Optional path to the musx (or EnigmaXML) file being loaded. | |
| dom::EmbeddedGraphicsMap | takeEmbeddedGraphics () |
| Move out embedded graphics. | |
Public Attributes | |
| dom::PartVoicingPolicy | partVoicingPolicy = dom::PartVoicingPolicy::Ignore |
| Part voicing behavior for this document. | |
Optional arguments for document creation.
|
inline |
Construct options with a part-voicing policy.
| policy | The policy to apply for this document. |
|
inline |
Construct options with explicit inputs.
| inputFilepath | Path to the musx (or EnigmaXML) file being loaded. |
| notationMetadata | Buffer containing NotationMetadata.xml. |
| embeddedGraphicFiles | Embedded graphic files in cmper.ext form. |
| policy | The policy to apply for this document. |