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:
28  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 
36  //----------//
37  // Functors //
38  //----------//
39 
43  FunctorCode Accept(Functor &functor) override;
45  FunctorCode Accept(ConstFunctor &functor) const override;
46  FunctorCode AcceptEnd(Functor &functor) override;
47  FunctorCode AcceptEnd(ConstFunctor &functor) const override;
49 
50 private:
51  //
52 public:
53  //
54 private:
55 };
56 
57 } // namespace vrv
58 
59 #endif
vrv::MSpace
This class models the MEI <space> element.
Definition: mspace.h:22
vrv::Object
This class represents a basic object.
Definition: object.h:59
vrv::MSpace::Clone
Object * Clone() const override
Method call for copying child classes.
Definition: mspace.h:31
vrv::MSpace::Accept
FunctorCode Accept(Functor &functor) override
Interface for class functor visitation.
vrv::MSpace::Reset
void Reset() override
Virtual reset method.
vrv::LayerElement
This class is a base class for the Layer (<layer>) content.
Definition: layerelement.h:46