Verovio
Source code documentation
episema.h
1 // Name: episema.h
3 // Author: David Rizo
4 // Created: 2026
5 // Copyright (c) Authors and others. All rights reserved.
7 
8 #ifndef __VRV_EPISEMA_H__
9 #define __VRV_EPISEMA_H__
10 
11 #include "atts_shared.h"
12 #include "atts_visual.h"
13 #include "layerelement.h"
14 #include "offsetinterface.h"
15 #include "pitchinterface.h"
16 #include "positioninterface.h"
17 
18 namespace vrv {
19 
20 //----------------------------------------------------------------------------
21 // Episema
22 //----------------------------------------------------------------------------
23 
24 class Episema : public LayerElement,
25  public OffsetInterface,
26  public PitchInterface,
27  public PositionInterface,
28  public AttColor,
29  public AttEpisemaVis {
30 public:
36  Episema();
37  virtual ~Episema();
38  Object *Clone() const override { return new Episema(*this); }
39  void Reset() override;
40  std::string GetClassName() const override { return "episema"; }
42 
47  OffsetInterface *GetOffsetInterface() override { return vrv_cast<OffsetInterface *>(this); }
48  const OffsetInterface *GetOffsetInterface() const override { return vrv_cast<const OffsetInterface *>(this); }
49  PitchInterface *GetPitchInterface() override { return vrv_cast<PitchInterface *>(this); }
50  const PitchInterface *GetPitchInterface() const override { return vrv_cast<const PitchInterface *>(this); }
51  PositionInterface *GetPositionInterface() override { return vrv_cast<PositionInterface *>(this); }
52  const PositionInterface *GetPositionInterface() const override { return vrv_cast<const PositionInterface *>(this); }
54 
56  bool HasToBeAligned() const override { return true; }
57 
58 private:
59  //
60 public:
61  //
62 private:
63 };
64 
65 } // namespace vrv
66 
67 #endif
Definition: episema.h:29
bool HasToBeAligned() const override
Override the method since alignment is required.
Definition: episema.h:56
Object * Clone() const override
Method call for copying child classes.
Definition: episema.h:38
void Reset() override
Virtual reset method.
This class is a base class for the Layer (<layer>) content.
Definition: layerelement.h:51
This class represents a basic object.
Definition: object.h:64
This class is an interface for elements having a single visual offset, such as arpeg,...
Definition: offsetinterface.h:28
This class is an interface for elements with pitch, such as notes and neumes.
Definition: pitchinterface.h:28
This class is an interface for elements with a position on the staff, such as rests.
Definition: positioninterface.h:30