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

Result returned by chord-level notehead-pattern classification. More...

#include <entries.h>

Public Member Functions

 operator bool () const noexcept
 Returns true when a chord-level notehead pattern was recognized.
 
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

entry::NoteheadValue value {}
 Classified payload, or std::monostate when no chord-level notehead pattern was recognized.
 

Detailed Description

Result returned by chord-level notehead-pattern classification.


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