Verovio
Source code documentation
lv.h
1 // Name: lv.h
3 // Author: Andriy Makarchuk
4 // Created: 1/07/2021
5 // Copyright (c) Authors and others. All rights reserved.
7 
8 #ifndef __VRV_LV_H__
9 #define __VRV_LV_H__
10 
11 #include "tie.h"
12 
13 namespace vrv {
14 
15 //----------------------------------------------------------------------------
16 // Lv
17 //----------------------------------------------------------------------------
18 
22 class Lv : public Tie {
23 public:
28  Lv();
30  virtual ~Lv();
31  Object *Clone() const override { return new Lv(*this); }
32  void Reset() override;
33  std::string GetClassName() const override { return "lv"; }
35 
36  bool CalculatePosition(
37  const Doc *doc, const Staff *staff, int x1, int x2, int spanningType, Point bezier[4]) override;
38 
39  //----------//
40  // Functors //
41  //----------//
42 
46  FunctorCode Accept(Functor &functor) override;
48  FunctorCode Accept(ConstFunctor &functor) const override;
49  FunctorCode AcceptEnd(Functor &functor) override;
50  FunctorCode AcceptEnd(ConstFunctor &functor) const override;
52 
53 private:
54  //
55 public:
56  //
57 private:
58 }; // lv
59 
60 } // namespace vrv
61 
62 #endif // __VRV_LV_H__
vrv::Lv::Clone
Object * Clone() const override
Method call for copying child classes.
Definition: lv.h:31
vrv::Object
This class represents a basic object.
Definition: object.h:59
vrv::Tie
This class models the MEI <tie> element.
Definition: tie.h:27
vrv::Lv::Reset
void Reset() override
Virtual reset method.
vrv::Lv
This class models the MEI <lv> element.
Definition: lv.h:22
vrv::Lv::Accept
FunctorCode Accept(Functor &functor) override
Interface for class functor visitation.