GuitarPrometheus::Techniques::ArticulationSet
GuitarPrometheus::Techniques::ArticulationSet
Compact set of per-note articulations attached to an Engraving. More…
#include <ArticulationSet.h>
Public Functions
| Name | |
|---|---|
| ArticulationSet() =default | |
| void | add(Articulation a) Add an articulation to the set. |
| bool | contains(Articulation a) const True if the articulation is in the set. |
| bool | empty() const True if no articulations have been added. |
| std::size_t | size() const Number of distinct articulations currently in the set. |
Detailed Description
class GuitarPrometheus::Techniques::ArticulationSet;Compact set of per-note articulations attached to an Engraving.
Backed by a std::bitset<kNumArticulations> so membership is a single bit test. Suitable for the small fixed universe of articulations the parser recognizes.
Public Functions Documentation
function ArticulationSet
ArticulationSet() =defaultfunction add
void add( Articulation a)Add an articulation to the set.
Idempotent.
function contains
bool contains( Articulation a) constTrue if the articulation is in the set.
function empty
bool empty() constTrue if no articulations have been added.
function size
std::size_t size() constNumber of distinct articulations currently in the set.
Updated on 2026-05-29 at 07:39:52 +0000