13#ifndef ___msrScores___
14#define ___msrScores___
21#include "msrIdentification.h"
22#include "msrScaling.h"
23#include "msrLayouts.h"
24#include "msrCredits.h"
32typedef SMARTP<msrPart> S_msrPart;
35typedef SMARTP<msrPartGroup> S_msrPartGroup;
38typedef SMARTP<msrVoice> S_msrVoice;
69 {
return fIdentification; }
73 { fScaling = scaling; }
80 { fPageLayout = pageLayout; }
83 {
return fPageLayout; }
85 const list<S_msrPartGroup>&
86 getPartGroupsList ()
const
87 {
return fPartGroupsList; }
90 void setScoreMasterVoice (
104 const list<S_msrCredit>&
105 getCreditsList ()
const
106 {
return fCreditsList; }
108 void setScoreNumberOfMeasures (
109 int scoreNumberOfMeasures)
111 fScoreNumberOfMeasures =
112 scoreNumberOfMeasures;
115 int getScoreNumberOfMeasures ()
const
116 {
return fScoreNumberOfMeasures; }
118 void setStaffContainsRestMeasures (
119 bool staffContainsRestMeasures)
121 fStaffContainsRestMeasures =
122 staffContainsRestMeasures;
125 bool getStaffContainsRestMeasures ()
const
126 {
return fStaffContainsRestMeasures; }
130 void setScorePartGroupNamesMaxLength (
int value)
131 { fScorePartGroupNamesMaxLength = value; }
133 int getScorePartGroupNamesMaxLength ()
const
134 {
return fScorePartGroupNamesMaxLength; }
138 void setScorePartNamesMaxLength (
int value)
139 { fScorePartNamesMaxLength = value; }
141 int getScorePartNamesMaxLength ()
const
142 {
return fScorePartNamesMaxLength; }
146 void setScoreInstrumentNamesMaxLength (
int value)
147 { fScoreInstrumentNamesMaxLength = value; }
149 int getScoreInstrumentNamesMaxLength ()
const
150 {
return fScoreInstrumentNamesMaxLength; }
152 void setScoreInstrumentAbbreviationsMaxLength (
int value)
153 { fScoreInstrumentAbbreviationsMaxLength = value; }
155 int getScoreInstrumentAbbreviationsMaxLength ()
const
156 {
return fScoreInstrumentAbbreviationsMaxLength; }
160 void setInhibitMeasuresRepeatReplicasBrowsing ()
162 fInhibitMeasuresRepeatReplicasBrowsing =
166 bool getInhibitMeasuresRepeatReplicasBrowsing ()
170 fInhibitMeasuresRepeatReplicasBrowsing;
173 void setInhibitRestMeasuresBrowsing ()
175 fInhibitRestMeasuresBrowsing =
179 bool getInhibitRestMeasuresBrowsing ()
183 fInhibitRestMeasuresBrowsing;
191 void addPartGroupToScore (
194 void appendCreditToScore (
197 S_msrPart fetchPartFromScoreByItsPartID (
201 void fetchIdentificationFromCreditsIfAny (
202 int inputLineNumber);
209 void collectScorePartsList (
211 list<S_msrPart>& partsList);
228 virtual void print (ostream& os)
const;
230 virtual void printSummary (ostream& os);
243 list<S_msrCredit> fCreditsList;
245 set<S_msrPartGroup> fScorePartGroupsSet;
247 list<S_msrPartGroup> fPartGroupsList;
256 int fScoreNumberOfMeasures;
260 bool fStaffContainsRestMeasures;
264 int fScorePartGroupNamesMaxLength;
268 int fScorePartNamesMaxLength;
272 int fScoreInstrumentNamesMaxLength;
273 int fScoreInstrumentAbbreviationsMaxLength;
279 bool fInhibitMeasuresRepeatReplicasBrowsing;
283 bool fInhibitRestMeasuresBrowsing;
286EXP ostream& operator<< (ostream& os,
const S_msrScore& elt);
Definition: basevisitor.h:25
Definition: msrElements.h:26
Definition: msrScores.h:42
Definition: partlistvisitor.h:29
Definition: msrParts_MUT_DEP.h:8
Definition: msrVoices_MUT_DEP.h:8