Verovio
Source code documentation
mspace.h
1 // Name: mspace.h
3 // Author: Klaus Rettinghaus
4 // Created: 2019
5 // Copyright (c) Authors and others. All rights reserved.
7 
8 #ifndef __VRV_MSPACE_H__
9 #define __VRV_MSPACE_H__
10 
11 #include "layerelement.h"
12 
13 namespace vrv {
14 
15 //----------------------------------------------------------------------------
16 // MSpace
17 //----------------------------------------------------------------------------
18 
22 class MSpace : public LayerElement {
23 public:
29  MSpace();
30  virtual ~MSpace();
31  Object *Clone() const override { return new MSpace(*this); }
32  void Reset() override;
33  std::string GetClassName() const override { return "mSpace"; }
35 
40  bool IsSupportedChild(ClassId classId) override;
41 
44 
45  //----------//
46  // Functors //
47  //----------//
48 
53  FunctorCode Accept(Functor &functor) override;
54  FunctorCode Accept(ConstFunctor &functor) const override;
55  FunctorCode AcceptEnd(Functor &functor) override;
56  FunctorCode AcceptEnd(ConstFunctor &functor) const override;
58 
59 private:
60  //
61 public:
62  //
63 private:
64 };
65 
66 } // namespace vrv
67 
68 #endif
This abstract class is the base class for all const functors.
Definition: functor.h:126
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 models the MEI <space> element.
Definition: mspace.h:22
void Reset() override
Virtual reset method.
void InitShowMSpace()
Init the display mspace as mrest when the option is set.
FunctorCode Accept(Functor &functor) override
Interface for class functor visitation.
bool IsSupportedChild(ClassId classId) override
Add an element (accid) to a accid.
Object * Clone() const override
Method call for copying child classes.
Definition: mspace.h:31
This class represents a basic object.
Definition: object.h:66