13#ifndef ___lilypondOah___
14#define ___lilypondOah___
16#include "oahBasicTypes.h"
34 string valueSpecification,
36 lpsrScoreOutputKind& lilypondScoreOutputKindVariable);
47 string valueSpecification,
49 lpsrScoreOutputKind& lilypondScoreOutputKindVariable);
58 void setScoreOutputKindVariableValue (
59 lpsrScoreOutputKind value)
60 { fLpsrScoreOutputKindVariable = value; }
88 string asShortNamedOptionString ()
const;
89 string asActualLongNamedOptionString ()
const;
91 void print (ostream& os)
const;
93 void printAtomOptionsValues (
95 int valueFieldWidth)
const;
102 lpsrScoreOutputKind& fLpsrScoreOutputKindVariable;
120 lpsrOctaveEntryKind& lpsrOctaveEntryKindVariable);
132 lpsrOctaveEntryKind& lpsrOctaveEntryKindVariable);
165 void print (ostream& os)
const;
167 void printAtomOptionsValues (
169 int valueFieldWidth)
const;
176 lpsrOctaveEntryKind& fLpsrOctaveEntryKindVariable;
193 string valueSpecification,
195 lpsrOctaveEntryKind& lpsrOctaveEntryKindVariable,
207 string valueSpecification,
209 lpsrOctaveEntryKind& lpsrOctaveEntryKindVariable,
219 void setRelativeOctaveEntryVariableValue (
222 fMsrSemiTonesPitchAndOctaveVariable = value;
253 string asShortNamedOptionString ()
const;
254 string asActualLongNamedOptionString ()
const;
256 void print (ostream& os)
const;
258 void printAtomOptionsValues (
260 int valueFieldWidth)
const;
267 lpsrOctaveEntryKind& fLpsrOctaveEntryKindVariable;
270 fMsrSemiTonesPitchAndOctaveVariable;
287 string valueSpecification,
289 lpsrOctaveEntryKind& lpsrOctaveEntryKindVariable,
301 string valueSpecification,
303 lpsrOctaveEntryKind& lpsrOctaveEntryKindVariable,
313 void setFixedOctaveEntryVariableValue (
316 fMsrSemiTonesPitchAndOctaveVariable = value;
347 string asShortNamedOptionString ()
const;
348 string asActualLongNamedOptionString ()
const;
350 void print (ostream& os)
const;
352 void printAtomOptionsValues (
354 int valueFieldWidth)
const;
361 lpsrOctaveEntryKind& fLpsrOctaveEntryKindVariable;
364 fMsrSemiTonesPitchAndOctaveVariable;
381 string valueSpecification,
383 lpsrAccidentalStyleKind&
384 lilypondAccidentalStyleKindVariable);
395 string valueSpecification,
397 lpsrAccidentalStyleKind&
398 lilypondAccidentalStyleKindVariable);
407 void setLpsrAccidentalStyleKindVariable (
408 lpsrAccidentalStyleKind value)
410 fLpsrAccidentalStyleKindVariable = value;
441 string asShortNamedOptionString ()
const;
442 string asActualLongNamedOptionString ()
const;
444 void print (ostream& os)
const;
446 void printAtomOptionsValues (
448 int valueFieldWidth)
const;
455 lpsrAccidentalStyleKind&
456 fLpsrAccidentalStyleKindVariable;
473 string valueSpecification,
475 list<pair<string, string> >&
476 lilypondChordsDisplayVariable);
487 string valueSpecification,
489 list<pair<string, string> >&
490 lilypondChordsDisplayVariable);
499 void setStringsPairListVariable (
500 pair<string, string> value)
502 fStringsPairListVariable.push_back (value);
505 const list<pair<string, string> >&
506 getStringsPairListVariable ()
507 {
return fStringsPairListVariable; }
527 string asShortNamedOptionString ()
const;
528 string asActualLongNamedOptionString ()
const;
540 void print (ostream& os)
const;
542 void printAtomOptionsValues (
544 int valueFieldWidth)
const;
551 list<pair<string, string> >&
552 fStringsPairListVariable;
569 string valueSpecification,
571 lpsrLyricsDurationsKind&
572 lilypondLyricsDurationsKindVariable);
583 string valueSpecification,
585 lpsrLyricsDurationsKind&
586 lilypondLyricsDurationsKindVariable);
595 void setLpsrLyricsDurationsKindVariable (
596 lpsrLyricsDurationsKind value)
598 fLpsrLyricsDurationsKindVariable = value;
629 string asShortNamedOptionString ()
const;
630 string asActualLongNamedOptionString ()
const;
632 void print (ostream& os)
const;
634 void printAtomOptionsValues (
636 int valueFieldWidth)
const;
643 lpsrLyricsDurationsKind&
644 fLpsrLyricsDurationsKindVariable;
657 enum scoreNotationKind {
658 kWesternNotation, kJianpuNotation, kABCNotation };
660 static string scoreNotationKindAsString (
661 scoreNotationKind notationKind);
678 void initializeLilypondOah (
679 bool boolOptionsInitialValue);
697 bool setScoreOutputKind (
705 void enforceQuietness ();
712 virtual void checkOptionsConsistency ();
724 void initializeIdentificationOptions (
725 bool boolOptionsInitialValue);
727 void initializeEngraversOptions (
728 bool boolOptionsInitialValue);
730 void initializeClefsKeysTimesOptions (
731 bool boolOptionsInitialValue);
733 void initializeNotesOptions (
734 bool boolOptionsInitialValue);
736 void initializeBarsOptions (
737 bool boolOptionsInitialValue);
739 void initializeLineBreaksOptions (
740 bool boolOptionsInitialValue);
742 void initializePageBreaksOptions (
743 bool boolOptionsInitialValue);
745 void initializeStavesOptions (
746 bool boolOptionsInitialValue);
748 void initializeChordsOptions (
749 bool boolOptionsInitialValue);
751 void initializeTupletsOptions (
752 bool boolOptionsInitialValue);
754 void initializeRepeatOptions (
755 bool boolOptionsInitialValue);
757 void initializeOrnamentsOptions (
758 bool boolOptionsInitialValue);
760 void initializeChordsDisplayOptions (
761 bool boolOptionsInitialValue);
763 void initializeLyricsOptions (
764 bool boolOptionsInitialValue);
766 void initializeFontsOptions (
767 bool boolOptionsInitialValue);
769 void initializeCodeGenerationOptions (
770 bool boolOptionsInitialValue);
772 void initializeScoreNotationOptions (
773 bool boolOptionsInitialValue);
775 void initializeMidiOptions (
776 bool boolOptionsInitialValue);
778 void setOctaveEntryKindToAbsolute ()
781 kOctaveEntryAbsolute;
799 void printLilypondOahHelp ();
801 void printLilypondOahValues (
int fieldWidth);
803 virtual void printAtomOptionsValues (
805 int valueFieldWidth)
const;
840 bool fAmbitusEngraver;
841 bool fCustosEngraver;
847 bool fCommentClefChanges;
854 lpsrOctaveEntryKind fOctaveEntryKind;
858 fRelativeOctaveEntrySemiTonesPitchAndOctave;
861 fFixedOctaveEntrySemiTonesPitchAndOctave;
864 fSemiTonesPitchAndOctaveDefaultValue;
874 bool fRomanStringNumbers;
875 bool fAvoidOpenStrings;
877 lpsrAccidentalStyleKind
878 fAccidentalStyleKind;
880 bool fCompressFullMeasureRests;
882 bool fInputLineNumbers;
883 bool fOriginalMeasureNumbers;
884 bool fPositionsInMeasures;
890 bool fShowAllBarNumbers;
892 map<string, int> fResetMeasureElementMeasureNumberMap;
893 map<string, int> fAddEmptyMeasuresAfterMeasureNumberMap;
895 set<int> fBoxAroundBarNumberSet;
901 bool fIgnoreMusicXMLLineBreaks;
903 bool fBreakLinesAtIncompleteRightMeasures;
905 int fSeparatorLineEveryNMeasures;
907 set<string> fBreakLineAfterMeasureNumberSet;
912 bool fIgnoreMusicXMLPageBreaks;
914 set<string> fBreakPageAfterMeasureNumberSet;
921 bool fTabFullNotation;
926 bool fLedgerLinesRGBColorHasBeenSet;
931 bool fConnectArpeggios;
943 bool fKeepRepeatBarlines;
944 bool fRepeatBrackets;
945 bool fIgnoreRepeatNumbers;
957 list<pair<string, string> >
959 bool fJazzChordsDisplay;
960 string fJazzChordsDisplayLilypondcode;
980 bool fNoLilypondCode;
982 bool fNoLilypondLyrics;
984 bool fLilypondCompileDate;
986 bool fPointAndClickOff;
990 bool fWhiteNoteHeads;
1003 lpsrLyricsDurationsKind
1004 fLyricsDurationsKind;
1014EXP ostream& operator<< (ostream& os,
const S_lilypondOah& elt);
1029void initializeLilypondOahHandling (
the smart pointer implementation
Definition: smartpointer.h:58
Definition: basevisitor.h:25
Definition: lilypondOah.h:109
Definition: lilypondOah.h:371
Definition: lilypondOah.h:463
Definition: lilypondOah.h:277
Definition: lilypondOah.h:559
Definition: lilypondOah.h:651
Definition: lilypondOah.h:183
Definition: lilypondOah.h:24
Definition: msrBasicTypes.h:1401
Definition: oahBasicTypes.h:345
Definition: oahBasicTypes.h:2854
Definition: oahBasicTypes.h:964
Rational number representation.
Definition: rational.h:25