Verovio
Source code documentation
scoredefinterface.h
1 // Name: scoredefinterface.h
3 // Author: Laurent Pugin
4 // Created: 2015
5 // Copyright (c) Authors and others. All rights reserved.
7 
8 #ifndef __VRV_SCOREDEF_INTERFACE_H__
9 #define __VRV_SCOREDEF_INTERFACE_H__
10 
11 #include "atts_analytical.h"
12 #include "atts_cmn.h"
13 #include "atts_mensural.h"
14 #include "atts_midi.h"
15 #include "atts_shared.h"
16 #include "atts_visual.h"
17 #include "interface.h"
18 #include "vrvdef.h"
19 
20 namespace vrv {
21 
22 //----------------------------------------------------------------------------
23 // ScoreDefInterface
24 //----------------------------------------------------------------------------
25 
32  public AttBarring,
33  public AttDurationDefault,
34  public AttDurationRatio,
35  public AttLyricStyle,
36  public AttMeasureNumbers,
37  public AttMidiTempo,
38  public AttMmTempo,
39  public AttMultinumMeasures,
40  public AttOctaveDefault,
41  public AttPianoPedals,
42  public AttSpacing,
43  public AttSystems,
44  public AttTextStyle {
45 public:
52  virtual ~ScoreDefInterface();
53  void Reset() override;
54  InterfaceId IsInterface() const override { return INTERFACE_SCOREDEF; }
56 
60  bool HasTextStyles() const;
61 
65  void MergeTextStyles(const ScoreDefInterface *other);
66 
67 private:
68  //
69 public:
70  //
71 private:
72 };
73 
74 } // namespace vrv
75 
76 #endif
This is a base class for regrouping MEI att classes.
Definition: interface.h:32
This class is an interface for elements implementing score attributes, such as <scoreDef>,...
Definition: scoredefinterface.h:44
void Reset() override
Virtual reset method.
void MergeTextStyles(const ScoreDefInterface *other)
Set the lyric and text style attributes given in another interface.
bool HasTextStyles() const
Return true if at least one lyric or text style attribute is set.
InterfaceId IsInterface() const override
Virtual method returning the InterfaceId of the interface.
Definition: scoredefinterface.h:54