 |
Verovio
Source code documentation
|
8 #ifndef __VRV_STAFFDEF_H__
9 #define __VRV_STAFFDEF_H__
12 #include "atts_midi.h"
13 #include "atts_shared.h"
14 #include "atts_stringtab.h"
31 public AttNotationType,
33 public AttStaffDefLog,
34 public AttStaffDefVis,
35 public AttStaffDefVisTablature,
37 public AttTransposition {
47 void Reset()
override;
48 std::string GetClassName()
const override {
return "staffDef"; }
65 VisibilityOptimization GetDrawingVisibility()
const {
return m_drawingVisibility; }
67 void SetDrawingVisibility(VisibilityOptimization drawingIsVisible) { m_drawingVisibility = drawingIsVisible; }
82 FunctorCode
Accept(Functor &functor)
override;
84 FunctorCode
Accept(ConstFunctor &functor)
const override;
85 FunctorCode AcceptEnd(Functor &functor)
override;
86 FunctorCode AcceptEnd(ConstFunctor &functor)
const override;
100 VisibilityOptimization m_drawingVisibility;
This class represents a MEI staffDef.
Definition: staffdef.h:26
bool HasLayerDefWithLabel() const
Return true if the label has layerDef with a label.
This class is a base class for MEI scoreDef or staffDef elements.
Definition: scoredef.h:42
This class represents a basic object.
Definition: object.h:59
This class is an interface for MEI scoreDef or staffDef attributes clef, keysig and mensur.
Definition: drawinginterface.h:244
FunctorCode Accept(Functor &functor) override
Interface for class functor visitation.
int GetInsertOrderFor(ClassId classId) const override
Return an order for the given ClassId.
Object * Clone() const override
Method call for copying child classes.
Definition: staffdef.h:46
bool IsSupportedChild(ClassId classId) override
Base method for checking if a child can be added.