Verovio
Source code documentation
vrv::CalcAlignmentXPosFunctor Class Reference

This class calculates the position of the Alignment. More...

#include <calcalignmentxposfunctor.h>

Inheritance diagram for vrv::CalcAlignmentXPosFunctor:
vrv::DocFunctor vrv::Functor vrv::FunctorBase vrv::FunctorInterface

Public Member Functions

bool ImplementsEndInterface () const override
 Return true if the functor implements the end interface.
 
Constructors, destructors
 CalcAlignmentXPosFunctor (Doc *doc)
 
virtual ~CalcAlignmentXPosFunctor ()=default
 
int GetLongestActualDur () const
 
void SetLongestActualDur (data_DURATION dur)
 
FunctorCode VisitAlignment (Alignment *alignment) override
 
FunctorCode VisitMeasure (Measure *measure) override
 
FunctorCode VisitMeasureAligner (MeasureAligner *measureAligner) override
 
FunctorCode VisitSystem (System *system) override
 
- Public Member Functions inherited from vrv::DocFunctor
DocGetDoc ()
 
 DocFunctor (Doc *doc)
 
virtual ~DocFunctor ()=default
 
- Public Member Functions inherited from vrv::Functor
 Functor ()
 
virtual ~Functor ()=default
 
- Public Member Functions inherited from vrv::FunctorBase
 FunctorBase ()
 
virtual ~FunctorBase ()=default
 
FunctorCode GetCode () const
 Getter/Setter for the functor code which controls traversal.
 
void ResetCode ()
 
void SetCode (FunctorCode code)
 
bool VisibleOnly () const
 Getter/Setter for the visibility.
 
void SetVisibleOnly (bool visibleOnly)
 
FiltersGetFilters () const
 Getters/Setters for the filters and direction Here setters return the previous value.
 
FiltersSetFilters (Filters *filters)
 
bool GetDirection () const
 
bool SetDirection (bool direction)
 
- Public Member Functions inherited from vrv::FunctorInterface
 FunctorInterface ()
 
virtual ~FunctorInterface ()=default
 
virtual FunctorCode VisitObject (Object *object)
 
virtual FunctorCode VisitObjectEnd (Object *object)
 
virtual FunctorCode VisitDoc (Doc *doc)
 
virtual FunctorCode VisitDocEnd (Doc *doc)
 
virtual FunctorCode VisitCourse (Course *course)
 
virtual FunctorCode VisitCourseEnd (Course *course)
 
virtual FunctorCode VisitGrpSym (GrpSym *grpSym)
 
virtual FunctorCode VisitGrpSymEnd (GrpSym *grpSym)
 
virtual FunctorCode VisitInstrDef (InstrDef *instrDef)
 
virtual FunctorCode VisitInstrDefEnd (InstrDef *instrDef)
 
virtual FunctorCode VisitLabel (Label *label)
 
virtual FunctorCode VisitLabelEnd (Label *label)
 
virtual FunctorCode VisitLabelAbbr (LabelAbbr *labelAbbr)
 
virtual FunctorCode VisitLabelAbbrEnd (LabelAbbr *labelAbbr)
 
virtual FunctorCode VisitLayer (Layer *layer)
 
virtual FunctorCode VisitLayerEnd (Layer *layer)
 
virtual FunctorCode VisitLayerDef (LayerDef *layerDef)
 
virtual FunctorCode VisitLayerDefEnd (LayerDef *layerDef)
 
virtual FunctorCode VisitMeasureEnd (Measure *measure)
 
virtual FunctorCode VisitPage (Page *page)
 
virtual FunctorCode VisitPageEnd (Page *page)
 
virtual FunctorCode VisitPages (Pages *pages)
 
virtual FunctorCode VisitPagesEnd (Pages *pages)
 
virtual FunctorCode VisitPb (Pb *pb)
 
virtual FunctorCode VisitPbEnd (Pb *pb)
 
virtual FunctorCode VisitSb (Sb *sb)
 
virtual FunctorCode VisitSbEnd (Sb *sb)
 
virtual FunctorCode VisitScoreDef (ScoreDef *scoreDef)
 
virtual FunctorCode VisitScoreDefEnd (ScoreDef *scoreDef)
 
virtual FunctorCode VisitScoreDefElement (ScoreDefElement *scoreDefElement)
 
virtual FunctorCode VisitScoreDefElementEnd (ScoreDefElement *scoreDefElement)
 
virtual FunctorCode VisitStaff (Staff *staff)
 
virtual FunctorCode VisitStaffEnd (Staff *staff)
 
virtual FunctorCode VisitStaffDef (StaffDef *staffDef)
 
virtual FunctorCode VisitStaffDefEnd (StaffDef *staffDef)
 
virtual FunctorCode VisitStaffGrp (StaffGrp *staffGrp)
 
virtual FunctorCode VisitStaffGrpEnd (StaffGrp *staffGrp)
 
virtual FunctorCode VisitSystemEnd (System *system)
 
virtual FunctorCode VisitTuning (Tuning *tuning)
 
virtual FunctorCode VisitTuningEnd (Tuning *tuning)
 
virtual FunctorCode VisitEditorialElement (EditorialElement *editorialElement)
 
virtual FunctorCode VisitEditorialElementEnd (EditorialElement *editorialElement)
 
virtual FunctorCode VisitDiv (Div *div)
 
virtual FunctorCode VisitDivEnd (Div *div)
 
virtual FunctorCode VisitRunningElement (RunningElement *runningElement)
 
virtual FunctorCode VisitRunningElementEnd (RunningElement *runningElement)
 
virtual FunctorCode VisitPgFoot (PgFoot *pgFoot)
 
virtual FunctorCode VisitPgFootEnd (PgFoot *pgFoot)
 
virtual FunctorCode VisitPgHead (PgHead *pgHead)
 
virtual FunctorCode VisitPgHeadEnd (PgHead *pgHead)
 
virtual FunctorCode VisitTextLayoutElement (TextLayoutElement *textLayoutElement)
 
virtual FunctorCode VisitTextLayoutElementEnd (TextLayoutElement *textLayoutElement)
 
virtual FunctorCode VisitEnding (Ending *ending)
 
virtual FunctorCode VisitEndingEnd (Ending *ending)
 
virtual FunctorCode VisitExpansion (Expansion *expansion)
 
virtual FunctorCode VisitExpansionEnd (Expansion *expansion)
 
virtual FunctorCode VisitSection (Section *section)
 
virtual FunctorCode VisitSectionEnd (Section *section)
 
virtual FunctorCode VisitSystemElement (SystemElement *systemElement)
 
virtual FunctorCode VisitSystemElementEnd (SystemElement *systemElement)
 
virtual FunctorCode VisitSystemMilestone (SystemMilestoneEnd *systemMilestoneEnd)
 
virtual FunctorCode VisitSystemMilestoneEnd (SystemMilestoneEnd *systemMilestoneEnd)
 
virtual FunctorCode VisitMdiv (Mdiv *mdiv)
 
virtual FunctorCode VisitMdivEnd (Mdiv *mdiv)
 
virtual FunctorCode VisitPageElement (PageElement *pageElement)
 
virtual FunctorCode VisitPageElementEnd (PageElement *pageElement)
 
virtual FunctorCode VisitPageMilestone (PageMilestoneEnd *pageMilestoneEnd)
 
virtual FunctorCode VisitPageMilestoneEnd (PageMilestoneEnd *pageMilestoneEnd)
 
virtual FunctorCode VisitScore (Score *score)
 
virtual FunctorCode VisitScoreEnd (Score *score)
 
virtual FunctorCode VisitAnchoredText (AnchoredText *anchoredText)
 
virtual FunctorCode VisitAnchoredTextEnd (AnchoredText *anchoredText)
 
virtual FunctorCode VisitArpeg (Arpeg *arpeg)
 
virtual FunctorCode VisitArpegEnd (Arpeg *arpeg)
 
virtual FunctorCode VisitBeamSpan (BeamSpan *beamSpan)
 
virtual FunctorCode VisitBeamSpanEnd (BeamSpan *beamSpan)
 
virtual FunctorCode VisitBracketSpan (BracketSpan *bracketSpan)
 
virtual FunctorCode VisitBracketSpanEnd (BracketSpan *bracketSpan)
 
virtual FunctorCode VisitBreath (Breath *breath)
 
virtual FunctorCode VisitBreathEnd (Breath *breath)
 
virtual FunctorCode VisitCaesura (Caesura *caesura)
 
virtual FunctorCode VisitCaesuraEnd (Caesura *caesura)
 
virtual FunctorCode VisitControlElement (ControlElement *controlElement)
 
virtual FunctorCode VisitControlElementEnd (ControlElement *controlElement)
 
virtual FunctorCode VisitCpMark (CpMark *cpMark)
 
virtual FunctorCode VisitCpMarkEnd (CpMark *cpMark)
 
virtual FunctorCode VisitDir (Dir *dir)
 
virtual FunctorCode VisitDirEnd (Dir *dir)
 
virtual FunctorCode VisitDynam (Dynam *dynam)
 
virtual FunctorCode VisitDynamEnd (Dynam *dynam)
 
virtual FunctorCode VisitFermata (Fermata *fermata)
 
virtual FunctorCode VisitFermataEnd (Fermata *fermata)
 
virtual FunctorCode VisitFing (Fing *fing)
 
virtual FunctorCode VisitFingEnd (Fing *fing)
 
virtual FunctorCode VisitGliss (Gliss *gliss)
 
virtual FunctorCode VisitGlissEnd (Gliss *gliss)
 
virtual FunctorCode VisitHairpin (Hairpin *hairpin)
 
virtual FunctorCode VisitHairpinEnd (Hairpin *hairpin)
 
virtual FunctorCode VisitHarm (Harm *harm)
 
virtual FunctorCode VisitHarmEnd (Harm *harm)
 
virtual FunctorCode VisitLv (Lv *lv)
 
virtual FunctorCode VisitLvEnd (Lv *lv)
 
virtual FunctorCode VisitMordent (Mordent *mordent)
 
virtual FunctorCode VisitMordentEnd (Mordent *mordent)
 
virtual FunctorCode VisitOctave (Octave *octave)
 
virtual FunctorCode VisitOctaveEnd (Octave *octave)
 
virtual FunctorCode VisitOrnam (Ornam *ornam)
 
virtual FunctorCode VisitOrnamEnd (Ornam *ornam)
 
virtual FunctorCode VisitPedal (Pedal *pedal)
 
virtual FunctorCode VisitPedalEnd (Pedal *pedal)
 
virtual FunctorCode VisitPhrase (Phrase *phrase)
 
virtual FunctorCode VisitPhraseEnd (Phrase *phrase)
 
virtual FunctorCode VisitPitchInflection (PitchInflection *pitchInflection)
 
virtual FunctorCode VisitPitchInflectionEnd (PitchInflection *pitchInflection)
 
virtual FunctorCode VisitReh (Reh *reh)
 
virtual FunctorCode VisitRehEnd (Reh *reh)
 
virtual FunctorCode VisitRepeatMark (RepeatMark *repeatMark)
 
virtual FunctorCode VisitRepeatMarkEnd (RepeatMark *repeatMark)
 
virtual FunctorCode VisitSlur (Slur *slur)
 
virtual FunctorCode VisitSlurEnd (Slur *slur)
 
virtual FunctorCode VisitTempo (Tempo *tempo)
 
virtual FunctorCode VisitTempoEnd (Tempo *tempo)
 
virtual FunctorCode VisitTie (Tie *tie)
 
virtual FunctorCode VisitTieEnd (Tie *tie)
 
virtual FunctorCode VisitTrill (Trill *trill)
 
virtual FunctorCode VisitTrillEnd (Trill *trill)
 
virtual FunctorCode VisitTurn (Turn *turn)
 
virtual FunctorCode VisitTurnEnd (Turn *turn)
 
virtual FunctorCode VisitAccid (Accid *accid)
 
virtual FunctorCode VisitAccidEnd (Accid *accid)
 
virtual FunctorCode VisitArtic (Artic *artic)
 
virtual FunctorCode VisitArticEnd (Artic *artic)
 
virtual FunctorCode VisitBarLine (BarLine *barLine)
 
virtual FunctorCode VisitBarLineEnd (BarLine *barLine)
 
virtual FunctorCode VisitBeam (Beam *beam)
 
virtual FunctorCode VisitBeamEnd (Beam *beam)
 
virtual FunctorCode VisitBeatRpt (BeatRpt *beatRpt)
 
virtual FunctorCode VisitBeatRptEnd (BeatRpt *beatRpt)
 
virtual FunctorCode VisitBTrem (BTrem *bTrem)
 
virtual FunctorCode VisitBTremEnd (BTrem *bTrem)
 
virtual FunctorCode VisitChord (Chord *chord)
 
virtual FunctorCode VisitChordEnd (Chord *chord)
 
virtual FunctorCode VisitClef (Clef *clef)
 
virtual FunctorCode VisitClefEnd (Clef *clef)
 
virtual FunctorCode VisitCustos (Custos *custos)
 
virtual FunctorCode VisitCustosEnd (Custos *custos)
 
virtual FunctorCode VisitDot (Dot *dot)
 
virtual FunctorCode VisitDotEnd (Dot *dot)
 
virtual FunctorCode VisitDots (Dots *dots)
 
virtual FunctorCode VisitDotsEnd (Dots *dots)
 
virtual FunctorCode VisitFlag (Flag *flag)
 
virtual FunctorCode VisitFlagEnd (Flag *flag)
 
virtual FunctorCode VisitFTrem (FTrem *fTrem)
 
virtual FunctorCode VisitFTremEnd (FTrem *fTrem)
 
virtual FunctorCode VisitGenericLayerElement (GenericLayerElement *genericLayerElement)
 
virtual FunctorCode VisitGenericLayerElementEnd (GenericLayerElement *genericLayerElement)
 
virtual FunctorCode VisitGraceGrp (GraceGrp *graceGrp)
 
virtual FunctorCode VisitGraceGrpEnd (GraceGrp *graceGrp)
 
virtual FunctorCode VisitHalfmRpt (HalfmRpt *halfmRpt)
 
virtual FunctorCode VisitHalfmRptEnd (HalfmRpt *halfmRpt)
 
virtual FunctorCode VisitKeyAccid (KeyAccid *keyAccid)
 
virtual FunctorCode VisitKeyAccidEnd (KeyAccid *keyAccid)
 
virtual FunctorCode VisitKeySig (KeySig *keySig)
 
virtual FunctorCode VisitKeySigEnd (KeySig *keySig)
 
virtual FunctorCode VisitLayerElement (LayerElement *layerElement)
 
virtual FunctorCode VisitLayerElementEnd (LayerElement *layerElement)
 
virtual FunctorCode VisitLigature (Ligature *ligature)
 
virtual FunctorCode VisitLigatureEnd (Ligature *ligature)
 
virtual FunctorCode VisitMensur (Mensur *mensur)
 
virtual FunctorCode VisitMensurEnd (Mensur *mensur)
 
virtual FunctorCode VisitMeterSig (MeterSig *meterSig)
 
virtual FunctorCode VisitMeterSigEnd (MeterSig *meterSig)
 
virtual FunctorCode VisitMeterSigGrp (MeterSigGrp *meterSigGrp)
 
virtual FunctorCode VisitMeterSigGrpEnd (MeterSigGrp *meterSigGrp)
 
virtual FunctorCode VisitMRest (MRest *mRest)
 
virtual FunctorCode VisitMRestEnd (MRest *mRest)
 
virtual FunctorCode VisitMRpt (MRpt *mRpt)
 
virtual FunctorCode VisitMRptEnd (MRpt *mRpt)
 
virtual FunctorCode VisitMRpt2 (MRpt2 *mRpt2)
 
virtual FunctorCode VisitMRpt2End (MRpt2 *mRpt2)
 
virtual FunctorCode VisitMSpace (MSpace *mSpace)
 
virtual FunctorCode VisitMSpaceEnd (MSpace *mSpace)
 
virtual FunctorCode VisitMultiRest (MultiRest *multiRest)
 
virtual FunctorCode VisitMultiRestEnd (MultiRest *multiRest)
 
virtual FunctorCode VisitMultiRpt (MultiRpt *multiRpt)
 
virtual FunctorCode VisitMultiRptEnd (MultiRpt *multiRpt)
 
virtual FunctorCode VisitNc (Nc *nc)
 
virtual FunctorCode VisitNcEnd (Nc *nc)
 
virtual FunctorCode VisitNeume (Neume *neume)
 
virtual FunctorCode VisitNeumeEnd (Neume *neume)
 
virtual FunctorCode VisitNote (Note *note)
 
virtual FunctorCode VisitNoteEnd (Note *note)
 
virtual FunctorCode VisitPlica (Plica *plica)
 
virtual FunctorCode VisitPlicaEnd (Plica *plica)
 
virtual FunctorCode VisitProport (Proport *proport)
 
virtual FunctorCode VisitProportEnd (Proport *proport)
 
virtual FunctorCode VisitRest (Rest *rest)
 
virtual FunctorCode VisitRestEnd (Rest *rest)
 
virtual FunctorCode VisitSpace (Space *space)
 
virtual FunctorCode VisitSpaceEnd (Space *space)
 
virtual FunctorCode VisitStem (Stem *stem)
 
virtual FunctorCode VisitStemEnd (Stem *stem)
 
virtual FunctorCode VisitSyl (Syl *syl)
 
virtual FunctorCode VisitSylEnd (Syl *syl)
 
virtual FunctorCode VisitSyllable (Syllable *syllable)
 
virtual FunctorCode VisitSyllableEnd (Syllable *syllable)
 
virtual FunctorCode VisitTabDurSym (TabDurSym *tabDurSym)
 
virtual FunctorCode VisitTabDurSymEnd (TabDurSym *tabDurSym)
 
virtual FunctorCode VisitTabGrp (TabGrp *tabGrp)
 
virtual FunctorCode VisitTabGrpEnd (TabGrp *tabGrp)
 
virtual FunctorCode VisitTimestamp (TimestampAttr *timestamp)
 
virtual FunctorCode VisitTimestampEnd (TimestampAttr *timestamp)
 
virtual FunctorCode VisitTuplet (Tuplet *tuplet)
 
virtual FunctorCode VisitTupletEnd (Tuplet *tuplet)
 
virtual FunctorCode VisitTupletBracket (TupletBracket *tupletBracket)
 
virtual FunctorCode VisitTupletBracketEnd (TupletBracket *tupletBracket)
 
virtual FunctorCode VisitTupletNum (TupletNum *tupletNum)
 
virtual FunctorCode VisitTupletNumEnd (TupletNum *tupletNum)
 
virtual FunctorCode VisitVerse (Verse *verse)
 
virtual FunctorCode VisitVerseEnd (Verse *verse)
 
virtual FunctorCode VisitF (F *f)
 
virtual FunctorCode VisitFEnd (F *f)
 
virtual FunctorCode VisitFb (Fb *fb)
 
virtual FunctorCode VisitFbEnd (Fb *fb)
 
virtual FunctorCode VisitFig (Fig *fig)
 
virtual FunctorCode VisitFigEnd (Fig *fig)
 
virtual FunctorCode VisitLb (Lb *lb)
 
virtual FunctorCode VisitLbEnd (Lb *lb)
 
virtual FunctorCode VisitMNum (MNum *mNum)
 
virtual FunctorCode VisitMNumEnd (MNum *mNum)
 
virtual FunctorCode VisitNum (Num *num)
 
virtual FunctorCode VisitNumEnd (Num *num)
 
virtual FunctorCode VisitRend (Rend *rend)
 
virtual FunctorCode VisitRendEnd (Rend *rend)
 
virtual FunctorCode VisitSvg (Svg *svg)
 
virtual FunctorCode VisitSvgEnd (Svg *svg)
 
virtual FunctorCode VisitSymbol (Symbol *symbol)
 
virtual FunctorCode VisitSymbolEnd (Symbol *symbol)
 
virtual FunctorCode VisitText (Text *text)
 
virtual FunctorCode VisitTextEnd (Text *text)
 
virtual FunctorCode VisitTextElement (TextElement *textElement)
 
virtual FunctorCode VisitTextElementEnd (TextElement *textElement)
 
virtual FunctorCode VisitFacsimile (Facsimile *facsimile)
 
virtual FunctorCode VisitFacsimileEnd (Facsimile *facsimile)
 
virtual FunctorCode VisitGraphic (Graphic *graphic)
 
virtual FunctorCode VisitGraphicEnd (Graphic *graphic)
 
virtual FunctorCode VisitSurface (Surface *surface)
 
virtual FunctorCode VisitSurfaceEnd (Surface *surface)
 
virtual FunctorCode VisitZone (Zone *zone)
 
virtual FunctorCode VisitZoneEnd (Zone *zone)
 
virtual FunctorCode VisitAlignmentEnd (Alignment *alignment)
 
virtual FunctorCode VisitAlignmentReference (AlignmentReference *alignmentReference)
 
virtual FunctorCode VisitAlignmentReferenceEnd (AlignmentReference *alignmentReference)
 
virtual FunctorCode VisitHorizontalAligner (HorizontalAligner *horizontalAligner)
 
virtual FunctorCode VisitHorizontalAlignerEnd (HorizontalAligner *horizontalAligner)
 
virtual FunctorCode VisitMeasureAlignerEnd (MeasureAligner *measureAligner)
 
virtual FunctorCode VisitGraceAligner (GraceAligner *graceAligner)
 
virtual FunctorCode VisitGraceAlignerEnd (GraceAligner *graceAligner)
 
virtual FunctorCode VisitTimestampAligner (TimestampAligner *timestampAligner)
 
virtual FunctorCode VisitTimestampAlignerEnd (TimestampAligner *timestampAligner)
 
virtual FunctorCode VisitSystemAligner (SystemAligner *systemAligner)
 
virtual FunctorCode VisitSystemAlignerEnd (SystemAligner *systemAligner)
 
virtual FunctorCode VisitStaffAlignment (StaffAlignment *staffAlignment)
 
virtual FunctorCode VisitStaffAlignmentEnd (StaffAlignment *staffAlignment)
 
virtual FunctorCode VisitFloatingObject (FloatingObject *floatingObject)
 
virtual FunctorCode VisitFloatingObjectEnd (FloatingObject *floatingObject)
 

Additional Inherited Members

- Protected Attributes inherited from vrv::DocFunctor
Docm_doc
 

Detailed Description

This class calculates the position of the Alignment.

Looks at the time difference from the previous Alignment.


The documentation for this class was generated from the following file: