 |
Verovio
Source code documentation
|
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 {
38 void Reset()
override;
39 std::string GetClassName()
const override {
return "verse"; }
51 LabelAbbr *GetDrawingLabelAbbr() {
return m_drawingLabelAbbr; }
53 const LabelAbbr *GetDrawingLabelAbbr()
const {
return m_drawingLabelAbbr; }
54 void SetDrawingLabelAbbr(LabelAbbr *labelAbbr) { m_drawingLabelAbbr = labelAbbr; }
71 FunctorCode
Accept(Functor &functor)
override;
73 FunctorCode
Accept(ConstFunctor &functor)
const override;
74 FunctorCode AcceptEnd(Functor &functor)
override;
75 FunctorCode AcceptEnd(ConstFunctor &functor)
const override;
86 LabelAbbr *m_drawingLabelAbbr;
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.
This class represents a basic object.
Definition: object.h:59
bool IsSupportedChild(ClassId classId) override
Add an element (a syl) to a verse.
FunctorCode Accept(Functor &functor) override
Interface for class functor visitation.
This class is a base class for the Layer (<layer>) content.
Definition: layerelement.h:46
Object * Clone() const override
Method call for copying child classes.
Definition: verse.h:37