8 #ifndef __VRV_SPACE_H__
9 #define __VRV_SPACE_H__
11 #include "durationinterface.h"
12 #include "layerelement.h"
34 std::string GetClassName()
const override {
return "space"; }
50 DurationInterface *GetDurationInterface()
override {
return vrv_cast<DurationInterface *>(
this); }
51 const DurationInterface *GetDurationInterface()
const override {
return vrv_cast<const DurationInterface *>(
this); }
64 FunctorCode AcceptEnd(
Functor &functor)
override;
65 FunctorCode AcceptEnd(
ConstFunctor &functor)
const override;
This abstract class is the base class for all const functors.
Definition: functor.h:126
This class is an interface for elements with duration, such as notes and rests.
Definition: durationinterface.h:39
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:66
This class models the MEI <space> element.
Definition: space.h:23
FunctorCode Accept(Functor &functor) override
Interface for class functor visitation.
void Reset() override
Virtual reset method.
void InitShowSpace()
Init the display of space when the option is set.
bool IsSupportedChild(ClassId classId) override
Add an element (accid) to a accid.
Object * Clone() const override
Method call for copying child classes.
Definition: space.h:32