LibMusicXML 3.18
bsrTempos_MUT_DEP.h
1/*
2 This file is to be included only by bsrMutualDependencies.h,
3 to satisfy declarations mutual dependencies.
4*/
5
6//______________________________________________________________________________
7const bsrCellKind
8 kCellTempoEquals = kDots2356,
9 kCellTempoHyphen = kDots36;
10
12{
13 public:
14
15 // creation
16 // ------------------------------------------------------
17
18 static SMARTP<bsrTempo> create (
19 int inputLineNumber,
20 S_msrTempo mTempo);
21
22 protected:
23
24 // constructors/destructor
25 // ------------------------------------------------------
26
27 bsrTempo (
28 int inputLineNumber,
29 S_msrTempo mTempo);
30
31 virtual ~bsrTempo ();
32
33 public:
34
35 // set and get
36 // ------------------------------------------------------
37
38 S_msrTempo getMsrTempo () const
39 { return fMsrTempo; }
40
41 S_bsrCellsList getTempoCellsList () const
42 { return fTempoCellsList; }
43
44 public:
45
46 // public services
47 // ------------------------------------------------------
48
49 S_bsrCellsList fetchCellsList () const
50 { return fTempoCellsList; }
51
52 int fetchCellsNumber () const;
53
54 private:
55
56 // private services
57 // ------------------------------------------------------
58
59 S_bsrCellsList noteValueKindAsCellsList () const;
60
61 S_bsrCellsList noteOctaveKindAsCellsList () const;
62
63 S_bsrCellsList buildCellsList () const;
64
65 public:
66
67 // visitors
68 // ------------------------------------------------------
69
70 virtual void acceptIn (basevisitor* v);
71 virtual void acceptOut (basevisitor* v);
72
73 virtual void browseData (basevisitor* v);
74
75 public:
76
77 // print
78 // ------------------------------------------------------
79
80 string asString () const;
81
82 virtual void print (ostream& os) const;
83
84 private:
85
86 // fields
87 // ------------------------------------------------------
88
89 S_msrTempo fMsrTempo;
90
91 S_bsrCellsList fTempoCellsList;
92};
93typedef SMARTP<bsrTempo> S_bsrTempo;
94EXP ostream& operator<< (ostream& os, const S_bsrTempo& elt);
95
Definition: bsrLineElements_MUT_DEP.h:8
Definition: bsrTempos_MUT_DEP.h:12