8 #ifndef __VRV_SETSCOREDEFFUNCTOR_H__
9 #define __VRV_SETSCOREDEFFUNCTOR_H__
42 FunctorCode VisitStaffDef(
StaffDef *staffDef)
override;
90 FunctorCode VisitPageEnd(
Page *page)
override;
91 FunctorCode VisitScore(
Score *score)
override;
102 std::list<Score *> m_scores;
133 FunctorCode VisitClef(
Clef *clef)
override;
134 FunctorCode VisitKeySig(
KeySig *keySig)
override;
135 FunctorCode VisitLayer(
Layer *layer)
override;
136 FunctorCode VisitMeasure(
Measure *measure)
override;
137 FunctorCode VisitMensur(
Mensur *mensur)
override;
138 FunctorCode VisitPage(
Page *page)
override;
139 FunctorCode VisitProport(
Proport *proport)
override;
140 FunctorCode VisitScore(
Score *score)
override;
141 FunctorCode VisitScoreDef(
ScoreDef *scoreDef)
override;
142 FunctorCode VisitStaff(
Staff *staff)
override;
143 FunctorCode VisitStaffDef(
StaffDef *staffDef)
override;
144 FunctorCode VisitStaffGrp(
StaffGrp *staffGrp)
override;
145 FunctorCode VisitSystem(
System *system)
override;
156 Score *m_currentScore;
202 FunctorCode VisitMeasure(
Measure *measure)
override;
203 FunctorCode VisitScore(
Score *score)
override;
204 FunctorCode VisitStaff(
Staff *staff)
override;
205 FunctorCode VisitStaffGrpEnd(
StaffGrp *staffGrp)
override;
206 FunctorCode VisitSystem(
System *system)
override;
207 FunctorCode VisitSystemEnd(
System *system)
override;
222 bool m_firstScoreDef;
255 FunctorCode VisitLayer(
Layer *layer)
override;
256 FunctorCode VisitStaff(
Staff *staff)
override;
298 FunctorCode VisitGrpSym(
GrpSym *grpSym)
override;
299 FunctorCode VisitSystem(
System *system)
override;
339 FunctorCode VisitKeySig(
KeySig *keySig)
override;
340 FunctorCode VisitLayer(
Layer *layer)
override;
341 FunctorCode VisitMeasure(
Measure *measure)
override;
342 FunctorCode VisitPage(
Page *page)
override;
343 FunctorCode VisitStaff(
Staff *staff)
override;
344 FunctorCode VisitSystem(
System *system)
override;
361 enum StaffDefRedrawFlags {
365 REDRAW_METERSIG = 0x8,
366 REDRAW_METERSIGGRP = 0x10,
368 REDRAW_ALL = REDRAW_CLEF | REDRAW_KEYSIG | REDRAW_MENSUR | REDRAW_METERSIG | REDRAW_METERSIGGRP,
396 FunctorCode VisitStaffDef(
StaffDef *staffDef)
override;
This class stores a references of LayerElements for a staff.
Definition: horizontalaligner.h:290
This class models the MEI <clef> element.
Definition: clef.h:39
This abstract class is the base class for all mutable functors that need access to the document.
Definition: functor.h:151
This class is a hold the data and corresponds to the model of a MVC design pattern.
Definition: doc.h:41
This abstract class is the base class for all mutable functors.
Definition: functor.h:101
This class represents a MEI grpSym.
Definition: grpsym.h:30
This class models the MEI <keySig> element.
Definition: keysig.h:52
This class represents a layer in a laid-out score (Doc).
Definition: layer.h:39
This class represents a measure in a page-based score (Doc).
Definition: measure.h:46
This class models the MEI <mensur> element.
Definition: mensur.h:34
This class represents a MEI meterSigGrp.
Definition: metersiggrp.h:28
This class models the MEI <meterSig> element.
Definition: metersig.h:34
This class represents a page in a laid-out score (Doc).
Definition: page.h:31
This class models the MEI <proport> element.
Definition: proport.h:23
This class sets the current drawing clef, key signature, etc.
Definition: setscoredeffunctor.h:22
bool ImplementsEndInterface() const override
Return true if the functor implements the end interface.
Definition: setscoredeffunctor.h:36
This class represents a MEI scoreDef.
Definition: scoredef.h:135
This class optimizes the scoreDef for each system.
Definition: setscoredeffunctor.h:183
bool ImplementsEndInterface() const override
Return true if the functor implements the end interface.
Definition: setscoredeffunctor.h:196
This class sets the current scoreDef wherever needed.
Definition: setscoredeffunctor.h:114
bool ImplementsEndInterface() const override
Return true if the functor implements the end interface.
Definition: setscoredeffunctor.h:127
This class sets the Page::m_score and Page::m_scoreEnd pointers.
Definition: setscoredeffunctor.h:71
bool ImplementsEndInterface() const override
Return true if the functor implements the end interface.
Definition: setscoredeffunctor.h:84
This class prepares the group symbol starting and ending staffDefs for drawing.
Definition: setscoredeffunctor.h:279
bool ImplementsEndInterface() const override
Return true if the functor implements the end interface.
Definition: setscoredeffunctor.h:292
This class unsets the initial scoreDef for each system and measure.
Definition: setscoredeffunctor.h:319
bool ImplementsEndInterface() const override
Return true if the functor implements the end interface.
Definition: setscoredeffunctor.h:332
This class represent a <score> in MEI.
Definition: score.h:30
This class sets the cautionary scoreDef wherever needed.
Definition: setscoredeffunctor.h:236
bool ImplementsEndInterface() const override
Return true if the functor implements the end interface.
Definition: setscoredeffunctor.h:249
This class sets drawing flags for the StaffDef for indicating whether clefs, keysigs,...
Definition: setscoredeffunctor.h:377
bool ImplementsEndInterface() const override
Return true if the functor implements the end interface.
Definition: setscoredeffunctor.h:390
This class represents a MEI staffDef.
Definition: staffdef.h:37
This class represents a MEI staffGrp.
Definition: staffgrp.h:39
This class represents a staff in a laid-out score (Doc).
Definition: staff.h:107
This class represents a system in a laid-out score (Doc).
Definition: system.h:36