8 #ifndef __VRV_KEYACCID_H__
9 #define __VRV_KEYACCID_H__
11 #include "atts_externalsymbols.h"
12 #include "atts_gestural.h"
13 #include "layerelement.h"
14 #include "pitchinterface.h"
15 #include "positioninterface.h"
31 public AttEnclosingChars,
33 public AttExtSymNames {
44 std::string GetClassName()
const override {
return "keyAccid"; }
51 PitchInterface *GetPitchInterface()
override {
return vrv_cast<PitchInterface *>(
this); }
52 const PitchInterface *GetPitchInterface()
const override {
return vrv_cast<const PitchInterface *>(
this); }
53 PositionInterface *GetPositionInterface()
override {
return vrv_cast<PositionInterface *>(
this); }
54 const PositionInterface *GetPositionInterface()
const override {
return vrv_cast<const PositionInterface *>(
this); }
78 FunctorCode AcceptEnd(
Functor &functor)
override;
79 FunctorCode AcceptEnd(
ConstFunctor &functor)
const override;
This class models the MEI <clef> element.
Definition: clef.h:39
This abstract class is the base class for all const functors.
Definition: functor.h:126
This abstract class is the base class for all mutable functors.
Definition: functor.h:101
This class models the MEI <keyAccid> element.
Definition: keyaccid.h:33
int CalcStaffLoc(Clef *clef, int clefLocOffset) const
Determine the staff location.
std::u32string GetSymbolStr(data_NOTATIONTYPE notationType) const
Retrieve SMuFL string for the accidental.
void Reset() override
Virtual reset method.
Object * Clone() const override
Method call for copying child classes.
Definition: keyaccid.h:42
FunctorCode Accept(Functor &functor) override
Interface for class functor visitation.
This class is a base class for the Layer (<layer>) content.
Definition: layerelement.h:51
This class represents a basic object.
Definition: object.h:61
This class is an interface for elements with pitch, such as notes and neumes.
Definition: pitchinterface.h:28
This class is an interface for elements with a position on the staff, such as rests.
Definition: positioninterface.h:30