Verovio
Source code documentation
All Classes Namespaces Functions Variables Typedefs Enumerations Modules
ending.h
1 // Name: ending.h
3 // Author: Laurent Pugin
4 // Created: 14/07/2016
5 // Copyright (c) Authors and others. All rights reserved.
7 
8 #ifndef __VRV_ENDING_H__
9 #define __VRV_ENDING_H__
10 
11 #include "atts_shared.h"
12 #include "systemelement.h"
13 #include "systemmilestone.h"
14 
15 namespace vrv {
16 
17 class Measure;
18 
19 //----------------------------------------------------------------------------
20 // Ending
21 //----------------------------------------------------------------------------
22 
28 class Ending : public SystemElement,
30  public AttLabelled,
31  public AttLineRend,
32  public AttLineRendBase,
33  public AttNNumberLike {
34 public:
39  Ending();
41  virtual ~Ending();
42  Object *Clone() const override { return new Ending(*this); }
43  void Reset() override;
44  std::string GetClassName() const override { return "ending"; }
46 
50  bool IsSupportedChild(ClassId classId) override;
51 
52  //----------//
53  // Functors //
54  //----------//
55 
59  FunctorCode Accept(Functor &functor) override;
61  FunctorCode Accept(ConstFunctor &functor) const override;
62  FunctorCode AcceptEnd(Functor &functor) override;
63  FunctorCode AcceptEnd(ConstFunctor &functor) const override;
65 
66 private:
67  //
68 public:
69  //
70 private:
71  //
72 };
73 
74 } // namespace vrv
75 
76 #endif
vrv::SystemMilestoneInterface
This class is an interface for container elements that have to be turned to milestones in a page-base...
Definition: systemmilestone.h:91
vrv::SystemElement
This class represents elements appearing within a measure.
Definition: systemelement.h:25
vrv::Ending
This class represents a MEI ending.
Definition: ending.h:28
vrv::Object
This class represents a basic object.
Definition: object.h:59
vrv::Ending::Accept
FunctorCode Accept(Functor &functor) override
Interface for class functor visitation.
vrv::Ending::Clone
Object * Clone() const override
Method call for copying child classes.
Definition: ending.h:42
vrv::Ending::IsSupportedChild
bool IsSupportedChild(ClassId classId) override
Method for adding allowed content.