MUSX Document Model
Loading...
Searching...
No Matches
musx::dom::others::Staff::Transposition Class Reference

Encapsulates transposition options for a staff. More...

#include <Others.h>

Static Public Member Functions

static const xml::XmlElementArray< Transposition > & xmlMappingArray ()
 Required for musx::factory::FieldPopulator.
 

Public Attributes

bool setToClef {}
 If true, forces the clef in Staff::transposedClef.
 
bool noSimplifyKey {}
 Inverse of "Simplify Key" (xml node is <noKeyOpt>)
 
std::shared_ptr< KeySigTranspositionkeysig
 Shared pointer to the key signature transposition details, if any.
 
std::shared_ptr< ChromaticTranspositionchromatic
 Shared pointer to the chromatic transposition details, if any.
 

Detailed Description

Encapsulates transposition options for a staff.

Contains flags (such as setToClef and noKeyOpt) and shared pointers to embedded transposition types: key signature and chromatic.