37 music_theory::ClefType
type{};
49 {
return type != music_theory::ClefType::Unknown; }
52 explicit operator bool() const noexcept
58 const musx::dom::MusxInstance<musx::dom::options::ClefOptions::ClefDef>& clefDef,
59 const musx::dom::MusxInstance<musx::dom::others::Staff>& staff =
nullptr);
ClefClassification classifyClef(const musx::dom::MusxInstance< musx::dom::options::ClefOptions::ClefDef > &clefDef, const musx::dom::MusxInstance< musx::dom::others::Staff > &staff=nullptr)
Classifies a Finale clef definition, optionally in the context of a staff.
Core public API for the Denigma conversion libraries.
Definition articulations.h:32
Result returned by clef classification.
Definition clefs.h:35
music_theory::ClefType type
Classified music-theory clef type.
Definition clefs.h:37
int octave
Octave transposition associated with the clef.
Definition clefs.h:39
bool showOctave
True when octave information should be shown with the clef.
Definition clefs.h:43
bool isClef() const noexcept
Returns true when the source was recognized as a clef.
Definition clefs.h:48
std::optional< std::string > glyphName
SMuFL glyph name associated with the clef, when available.
Definition clefs.h:45
bool isBlank
True when the source clef is a blank Finale clef.
Definition clefs.h:41