8 #ifndef __VRV_VERSE_H__
9 #define __VRV_VERSE_H__
11 #include "atts_shared.h"
12 #include "layerelement.h"
27 public AttPlacementRelStaff,
28 public AttTypography {
39 std::string GetClassName()
const override {
return "verse"; }
52 LabelAbbr *GetDrawingLabelAbbr() {
return m_drawingLabelAbbr; }
53 const LabelAbbr *GetDrawingLabelAbbr()
const {
return m_drawingLabelAbbr; }
54 void SetDrawingLabelAbbr(LabelAbbr *labelAbbr) { m_drawingLabelAbbr = labelAbbr; }
74 FunctorCode AcceptEnd(
Functor &functor)
override;
75 FunctorCode AcceptEnd(
ConstFunctor &functor)
const override;
This abstract class is the base class for all const functors.
Definition: functor.h:126
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 models the MEI <labelAbbr> element.
Definition: labelabbr.h:22
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
FunctorCode Accept(Functor &functor) override
Interface for class functor visitation.
int AdjustPosition(int &overlap, int freeSpace, const Doc *doc)
Calculate the adjustment according to the overlap and the free space available before.
void Reset() override
Virtual reset method.
Object * Clone() const override
Method call for copying child classes.
Definition: verse.h:37
bool IsSupportedChild(ClassId classId) override
Add an element (a syl) to a verse.