25#include "Enumerations.h"
47 using EventMarkingBase::EventMarkingBase;
59 using EventMarkingBase::EventMarkingBase;
71 using EventMarkingBase::EventMarkingBase;
81 using EventMarkingBase::EventMarkingBase;
91 using EventMarkingBase::EventMarkingBase;
101 using EventMarkingBase::EventMarkingBase;
111 using EventMarkingBase::EventMarkingBase;
121 using EventMarkingBase::EventMarkingBase;
133 using EventMarkingBase::EventMarkingBase;
169 using EventMarkingBase::EventMarkingBase;
Base class wrapper for all MNX JSON nodes.
Definition BaseTypes.h:210
json_pointer pointer() const
Returns the json_pointer for this node.
Definition BaseTypes.h:271
T parent() const
Returns the parent object for this node.
Definition BaseTypes.h:258
const std::shared_ptr< json > & root() const
Returns the root.
Definition BaseTypes.h:288
Represents an MNX object, encapsulating property access.
Definition BaseTypes.h:420
Object(const std::shared_ptr< json > &root, json_pointer pointer)
Wraps an Object class around an existing JSON object node.
Definition BaseTypes.h:425
Class that represents an accent marking on an event.
Definition EventMarkings.h:45
MNX_OPTIONAL_PROPERTY(MarkingUpDown, pointing)
Specifies if the accent points upward or downward.
Class that represents a spiccato marking on an event.
Definition EventMarkings.h:57
MNX_OPTIONAL_PROPERTY(BreathMarkSymbol, symbol)
The symbol for the breath mark.
Base class for event markings.
Definition EventMarkings.h:35
Container for any markings on an event.
Definition EventMarkings.h:177
MNX_OPTIONAL_CHILD(SingleNoteTremolo, tremolo)
A single-note tremolo mark.
MNX_OPTIONAL_CHILD(StrongAccent, strongAccent)
A strong accent mark.
MNX_OPTIONAL_CHILD(Tenuto, tenuto)
A stress mark.
MNX_OPTIONAL_CHILD(Spiccato, spiccato)
A spiccato mark.
MNX_OPTIONAL_CHILD(Accent, accent)
An accent mark.
MNX_OPTIONAL_CHILD(Stress, stress)
A stress mark.
MNX_OPTIONAL_CHILD(SoftAccent, softAccent)
A soft accent mark.
MNX_OPTIONAL_CHILD(Staccatissimo, staccatissimo)
A staccatissimo mark.
MNX_OPTIONAL_CHILD(Unstress, unstress)
A stress mark.
MNX_OPTIONAL_CHILD(BreathMark, breath)
A breath mark.
MNX_OPTIONAL_CHILD(Staccato, staccato)
A staccato mark.
Class that represents single-note tremolo marking on an event.
Definition EventMarkings.h:141
SingleNoteTremolo(Base &parent, const std::string_view &key, unsigned marks)
Creates a new SingleNoteTremolo class as a child of a JSON element.
Definition EventMarkings.h:153
MNX_REQUIRED_PROPERTY(unsigned, marks)
the number of marks (a value from 0..8, inclusive)
SingleNoteTremolo(const std::shared_ptr< json > &root, json_pointer pointer)
Constructor for existing SingleNoteTremolo objects.
Definition EventMarkings.h:144
Class that represents a soft accent marking on an event.
Definition EventMarkings.h:69
Class that represents a spiccato marking on an event.
Definition EventMarkings.h:79
Class that represents a staccatissimo marking on an event.
Definition EventMarkings.h:89
Class that represents a staccato marking on an event.
Definition EventMarkings.h:99
Class that represents a stress marking on an event.
Definition EventMarkings.h:109
Class that represents a strong accent marking on an event.
Definition EventMarkings.h:119
MNX_OPTIONAL_PROPERTY(MarkingUpDown, pointing)
Specifies if the accent points upward or downward.
Class that represents a tenuto marking on an event.
Definition EventMarkings.h:131
Class that represents an unstress marking on an event.
Definition EventMarkings.h:167
object model for MNX format
json::json_pointer json_pointer
JSON pointer class for MNX.
Definition BaseTypes.h:197
BreathMarkSymbol
The symbols available for a breath mark.
Definition Enumerations.h:82
MarkingUpDown
The values available in an event marking "pointing" property.
Definition Enumerations.h:160