|
denigma 4.0.0
|
Exporter-neutral semantic classification of one Finale expression. More...
#include <expressions.h>
Public Member Functions | |
| template<typename T > | |
| const T * | as () const noexcept |
Returns the payload as T when it contains that type. | |
| const dynamics::Mark & | dynamic () const |
| Returns the classified dynamic mark. | |
| const expression::Fermata & | fermata () const |
| Returns the classified fermata. | |
| const expression::BreathMark & | breathMark () const |
| Returns the classified breath mark. | |
| const articulation::StringMute & | stringMute () const |
| Returns the classified string-mute symbol. | |
| const expression::HarpDiagram & | harpDiagram () const |
| Returns the classified harp-pedal diagram. | |
| keyboardpedal::Type | keyboardPedal () const |
| Returns the classified keyboard-pedal marking. | |
| const PseudoTie & | pseudoTie () const |
| Returns the classified pseudo-tie. | |
| const expression::NonArpeggio & | nonArpeggio () const |
| Returns the classified non-arpeggio sign. | |
| const expression::TempoText & | tempoText () const |
| Returns the classified absolute tempo indication. | |
| const expression::MetronomeMark & | metronomeMark () const |
| Returns the classified standalone metronome marking. | |
| const expression::TempoAlteration & | tempoAlteration () const |
| Returns the classified relative tempo alteration. | |
| const expression::TechniqueText & | techniqueText () const |
| Returns the classified performance-technique text. | |
| const expression::RehearsalMark & | rehearsalMark () const |
| Returns the classified rehearsal mark. | |
| const expression::MultimeasureRestNumber & | multimeasureRestNumber () const |
| Returns the classified multimeasure rest number. | |
| const expression::MeasureRepeatCount & | measureRepeatCount () const |
| Returns the classified measure repeat count. | |
| const expression::GenericText & | genericText () const |
| Returns the unclassified expression text. | |
| const expression::Error & | error () const |
| Returns the classification diagnostic. | |
Public Attributes | |
| ExpressionType | type { ExpressionType::GenericText } |
| Top-level semantic class. | |
| ClassificationBasis | basis { ClassificationBasis::FallbackToGenericText } |
| Evidence used to select type and value. | |
| std::optional< musx::util::EnigmaParsingContext > | enigmaCtx |
| Parsing context retained when the source contains Enigma text commands. | |
| ExpressionValue | value {} |
| Semantic payload associated with type. | |
| std::vector< expression::RunClassification > | runs |
| Per-run classifications for expressions containing mixed content. | |
Exporter-neutral semantic classification of one Finale expression.
|
inlinenoexcept |
Returns the payload as T when it contains that type.
| T | Requested payload type. |
nullptr when the active alternative differs.
|
inline |
Returns the classified breath mark.
| std::logic_error | if type is not ExpressionType::BreathMark. |
|
inline |
Returns the classified dynamic mark.
| std::logic_error | if type is not ExpressionType::Dynamic. |
|
inline |
Returns the classification diagnostic.
| std::logic_error | if type is not ExpressionType::Error. |
|
inline |
Returns the classified fermata.
| std::logic_error | if type is not ExpressionType::Fermata. |
|
inline |
Returns the unclassified expression text.
| std::logic_error | if type is not ExpressionType::GenericText. |
|
inline |
Returns the classified harp-pedal diagram.
| std::logic_error | if type is not ExpressionType::HarpDiagram. |
|
inline |
Returns the classified keyboard-pedal marking.
| std::logic_error | if type is not ExpressionType::KeyboardPedal. |
|
inline |
Returns the classified measure repeat count.
| std::logic_error | if type is not ExpressionType::MeasureRepeatCount. |
|
inline |
Returns the classified standalone metronome marking.
| std::logic_error | if type is not ExpressionType::MetronomeMark. |
|
inline |
Returns the classified multimeasure rest number.
| std::logic_error | if type is not ExpressionType::MultimeasureRestNumber. |
|
inline |
Returns the classified non-arpeggio sign.
| std::logic_error | if type is not ExpressionType::NonArpeggio. |
|
inline |
Returns the classified pseudo-tie.
| std::logic_error | if type is not ExpressionType::PseudoTie. |
|
inline |
Returns the classified rehearsal mark.
| std::logic_error | if type is not ExpressionType::RehearsalMark. |
|
inline |
Returns the classified string-mute symbol.
| std::logic_error | if type is not ExpressionType::StringMute. |
|
inline |
Returns the classified performance-technique text.
| std::logic_error | if type is not ExpressionType::TechniqueText. |
|
inline |
Returns the classified relative tempo alteration.
| std::logic_error | if type is not ExpressionType::TempoAlteration. |
|
inline |
Returns the classified absolute tempo indication.
| std::logic_error | if type is not ExpressionType::TempoMark. |