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"; }
41 DurationInterface *GetDurationInterface()
override {
return vrv_cast<DurationInterface *>(
this); }
42 const DurationInterface *GetDurationInterface()
const override {
return vrv_cast<const DurationInterface *>(
this); }
55 FunctorCode AcceptEnd(
Functor &functor)
override;
56 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:61
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.
Object * Clone() const override
Method call for copying child classes.
Definition: space.h:32