8 #ifndef __VRV_TABDURSYM_H__ 
    9 #define __VRV_TABDURSYM_H__ 
   11 #include "atts_shared.h" 
   12 #include "atts_stringtab.h" 
   13 #include "drawinginterface.h" 
   14 #include "layerelement.h" 
   27                   public AttNNumberLike,
 
   29                   public AttVisualOffsetVo {
 
   39     void Reset() 
override;
 
   40     std::string GetClassName()
 const override { 
return "tabDurSym"; }
 
   47     StemmedDrawingInterface *GetStemmedDrawingInterface()
 override { 
return vrv_cast<StemmedDrawingInterface *>(
this); }
 
   48     const StemmedDrawingInterface *GetStemmedDrawingInterface()
 const override 
   50         return vrv_cast<const StemmedDrawingInterface *>(
this);
 
   73     Point GetStemDownNW(
const Doc *doc, 
int staffSize, 
bool isCueSize) 
const override;
 
   74     int CalcStemLenInThirdUnits(
const Staff *staff, data_STEMDIRECTION stemDir) 
const override;
 
   96     FunctorCode AcceptEnd(
Functor &functor) 
override;
 
   97     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 is a base class for the Layer (<layer>) content.
Definition: layerelement.h:51
This class represents a basic object.
Definition: object.h:62
Simple class for representing points.
Definition: devicecontextbase.h:203
This class represents a staff in a laid-out score (Doc).
Definition: staff.h:107
This class is an interface for MEI stemmed element.
Definition: drawinginterface.h:353
This class models the MEI <tabDurSym> element.
Definition: tabdursym.h:29
bool IsSupportedChild(ClassId classId) override
Add an element to a element.
bool HasToBeAligned() const override
Override the method since alignment is required.
Definition: tabdursym.h:55
void AdjustDrawingYRel(const Staff *staff, const Doc *doc)
Adjust the drawing y relative value for TabDurSym placed below the staff.
Object * Clone() const override
Method call for copying child classes.
Definition: tabdursym.h:38
Point GetStemUpSE(const Doc *doc, int staffSize, bool isCueSize) const override
Get the stem up / stem down attachment point.
bool AddChild(Object *object) override
Overwritten method for note.
FunctorCode Accept(Functor &functor) override
Interface for class functor visitation.