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

Result returned by articulation classification. More...

#include <articulations.h>

Public Member Functions

 operator bool () const noexcept
 Returns true when the source was recognized as an articulation.
 
template<typename T >
const T * as () const noexcept
 Returns the classified payload as T, or nullptr when it has another type.
 
template<typename T >
bool is () const noexcept
 Returns true when the classified payload has type T.
 

Public Attributes

ArticulationValue value {}
 Classified articulation payload, or std::monostate when no articulation was recognized.
 
musx::dom::VerticalPlacement placement { musx::dom::VerticalPlacement::NotApplicable }
 Resolved placement of the assigned articulation, when classified from an assignment.
 
std::optional< std::string > glyphName
 SMuFL glyph name associated with the recognized symbol, when available.
 

Detailed Description

Result returned by articulation classification.


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