8 #ifndef __VRV_CPMARK_H__
9 #define __VRV_CPMARK_H__
11 #include "controlelement.h"
12 #include "textdirinterface.h"
13 #include "timeinterface.h"
37 std::string GetClassName()
const override {
return "cpMark"; }
44 TextDirInterface *GetTextDirInterface()
override {
return vrv_cast<TextDirInterface *>(
this); }
45 const TextDirInterface *GetTextDirInterface()
const override {
return vrv_cast<const TextDirInterface *>(
this); }
46 TimePointInterface *GetTimePointInterface()
override {
return vrv_cast<TimePointInterface *>(
this); }
47 const TimePointInterface *GetTimePointInterface()
const override
49 return vrv_cast<const TimePointInterface *>(
this);
51 TimeSpanningInterface *GetTimeSpanningInterface()
override {
return vrv_cast<TimeSpanningInterface *>(
this); }
52 const TimeSpanningInterface *GetTimeSpanningInterface()
const override
54 return vrv_cast<const TimeSpanningInterface *>(
this);
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 represents elements appearing within a measure.
Definition: controlelement.h:33
This class models the MEI <cpMark> element.
Definition: cpmark.h:26
bool IsSupportedChild(ClassId classId) override
Add an element (text, rend.
Object * Clone() const override
Method call for copying child classes.
Definition: cpmark.h:35
void Reset() override
Virtual reset method.
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:61
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:992
This class is an interface for spanning elements, such as slur, hairpin, etc.
Definition: timeinterface.h:145