11 #include "controlelement.h"
12 #include "textdirinterface.h"
13 #include "timeinterface.h"
32 public AttLineRendBase,
33 public AttVerticalGroup {
40 Dir(
bool isStageDir =
false);
44 std::string GetClassName()
const override {
return (this->IsStageDir() ?
"stageDir" :
"dir"); }
51 TextDirInterface *GetTextDirInterface()
override {
return vrv_cast<TextDirInterface *>(
this); }
52 const TextDirInterface *GetTextDirInterface()
const override {
return vrv_cast<const TextDirInterface *>(
this); }
53 TimePointInterface *GetTimePointInterface()
override {
return vrv_cast<TimePointInterface *>(
this); }
54 const TimePointInterface *GetTimePointInterface()
const override
56 return vrv_cast<const TimePointInterface *>(
this);
58 TimeSpanningInterface *GetTimeSpanningInterface()
override {
return vrv_cast<TimeSpanningInterface *>(
this); }
59 const TimeSpanningInterface *GetTimeSpanningInterface()
const override
61 return vrv_cast<const TimeSpanningInterface *>(
this);
69 bool IsStageDir()
const {
return (m_isStageDir); }
70 void SetStageDir(
bool isStageDir) { m_isStageDir = isStageDir; }
94 FunctorCode AcceptEnd(
Functor &functor)
override;
95 FunctorCode AcceptEnd(
ConstFunctor &functor)
const override;
This abstract class is the base class for all const functors.
Definition: functor.h:126
This class represents elements appearing within a measure.
Definition: controlelement.h:35
This class models the MEI <dir> element.
Definition: dir.h:33
void Reset() override
Virtual reset method.
bool IsSupportedChild(ClassId classId) override
Add an element (text, rend.
bool IsExtenderElement() const override
See FloatingObject::IsExtenderElement.
Definition: dir.h:82
Object * Clone() const override
Method call for copying child classes.
Definition: dir.h:42
FunctorCode Accept(Functor &functor) override
Interface for class functor visitation.
This abstract class is the base class for all mutable functors.
Definition: functor.h:101
This class represents a basic object.
Definition: object.h:64
This class is an interface for elements implementing a text directive, such as <dir>,...
Definition: textdirinterface.h:26
This class is an pseudo interface for elements maintaining a flat list of children LayerElement for p...
Definition: object.h:1015
This class is an interface for spanning elements, such as slur, hairpin, etc.
Definition: timeinterface.h:145