denigma 4.0.0
Loading...
Searching...
No Matches
denigma::classify::ChordSuffixClassification Struct Reference

Classified logical strings reconstructed from Finale chord-suffix elements. More...

#include <chords.h>

Public Member Functions

std::string calcText () const
 Concatenates the classified strings in Finale's source order.
 

Public Attributes

std::vector< chord::SuffixStringstrings
 The suffix's logical strings in Finale's source order. (See chord::SuffixString.)
 
std::optional< chord::Quality > quality
 The recognized harmonic quality, or std::nullopt when the suffix text could not be parsed.
 
std::vector< chord::Degreedegrees
 Degrees the suffix applies on top of quality, in source order.
 
bool parenthesizeDegrees {}
 True when the suffix shows degrees inside parentheses.
 
bool stackDegrees {}
 True when the suffix shows degrees stacked vertically instead of running left to right.
 
bool hasOuterParentheses {}
 True when a single pair of parentheses encloses the entire suffix text.
 
bool hasUnrecognizedGlyphs {}
 True when the suffix contains a private-use character that no known font mapping resolved.
 

Detailed Description

Classified logical strings reconstructed from Finale chord-suffix elements.

Member Function Documentation

◆ calcText()

std::string denigma::classify::ChordSuffixClassification::calcText ( ) const

Concatenates the classified strings in Finale's source order.

Returns
The suffix as a single line of Unicode text, with any stacking flattened.

Member Data Documentation

◆ hasUnrecognizedGlyphs

bool denigma::classify::ChordSuffixClassification::hasUnrecognizedGlyphs {}

True when the suffix contains a private-use character that no known font mapping resolved.

The character is preserved in strings, but it may not render outside its original font.


The documentation for this struct was generated from the following file: