LibMusicXML 3.18
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
msrTempo Class Reference
Inheritance diagram for msrTempo:
msrMeasureElement msrElement smartable

Public Types

enum  msrTempoKind {
  k_NoTempoKind , kTempoBeatUnitsWordsOnly , kTempoBeatUnitsPerMinute , kTempoBeatUnitsEquivalence ,
  kTempoNotesRelationShip
}
 
enum  msrTempoParenthesizedKind { kTempoParenthesizedYes , kTempoParenthesizedNo }
 
enum  msrTempoRelationKind { kTempoRelationNone , kTempoRelationEquals }
 

Public Member Functions

msrTempoKind getTempoKind () const
 
const list< S_msrWords > & getTempoWordsList () const
 
msrDottedDuration getTempoBeatUnit () const
 
string getTempoPerMinute () const
 
msrDottedDuration getTempoEquivalentBeatUnit () const
 
S_msrTempoRelationshipElements getTempoRelationLeftElements () const
 
msrTempoRelationKind getTempoRelationKind () const
 
S_msrTempoRelationshipElements getTempoRelationRightElements () const
 
msrTempoParenthesizedKind getTempoParenthesizedKind () const
 
msrPlacementKind getTempoPlacementKind () const
 
void appendWordsToTempo (S_msrWords tempoWords)
 
string tempoWordsListAsString (string separator) const
 
virtual void acceptIn (basevisitor *v)
 
virtual void acceptOut (basevisitor *v)
 
virtual void browseData (basevisitor *v)
 
string asString () const
 
virtual void print (ostream &os) const
 
- Public Member Functions inherited from msrMeasureElement
void setMeasureElementMeasureNumber (string positionInMeasure)
 
string getMeasureElementMeasureNumber ()
 
void setMeasureElementPositionInMeasure (rational positionInMeasure, string context)
 
rational getMeasureElementPositionInMeasure ()
 
void setMeasureElementSoundingWholeNotes (rational wholeNotes, string context)
 
rational getMeasureElementSoundingWholeNotes () const
 
virtual void acceptIn (basevisitor *v)
 
virtual void acceptOut (basevisitor *v)
 
virtual void browseData (basevisitor *v)=0
 
virtual std::string asShortString () const
 
virtual std::string asString () const
 
virtual void print (ostream &os) const
 
virtual void printSummary (ostream &os)
 
- Public Member Functions inherited from msrElement
int getInputLineNumber ()
 
virtual void acceptIn (basevisitor *v)
 
virtual void acceptOut (basevisitor *v)
 
virtual void browseData (basevisitor *v)=0
 
virtual std::string asShortString () const
 
virtual std::string asString () const
 
virtual void print (ostream &os) const
 
virtual void shortPrint (ostream &os) const
 
virtual void printSummary (ostream &os)
 
- Public Member Functions inherited from smartable
unsigned refs () const
 gives the reference count of the object
 
void addReference ()
 addReference increments the ref count and checks for refCount overflow
 
void removeReference ()
 removeReference delete the object when refCount is zero

 

Static Public Member Functions

static string tempoKindAsString (msrTempoKind tempoKind)
 
static string tempoParenthesizedKindAsString (msrTempoParenthesizedKind tempoParenthesizedKind)
 
static string tempoRelationKindAsString (msrTempoRelationKind tempoRelationKind)
 
static SMARTP< msrTempocreate (int inputLineNumber, S_msrWords tempoWords)
 
static SMARTP< msrTempocreate (int inputLineNumber, msrDottedDuration tempoBeatUnit, string tempoPerMinute, msrTempoParenthesizedKind tempoParenthesizedKind, msrPlacementKind tempoPlacementKind)
 
static SMARTP< msrTempocreate (int inputLineNumber, msrDottedDuration tempoBeatUnit, msrDottedDuration tempoEquivalentBeatUnit, msrTempoParenthesizedKind tempoParenthesizedKind, msrPlacementKind tempoPlacementKind)
 
static SMARTP< msrTempocreate (int inputLineNumber, S_msrTempoRelationshipElements tempoRelationLeftElements, S_msrTempoRelationshipElements tempoRelationRightElements, msrTempoParenthesizedKind tempoParenthesizedKind, msrPlacementKind tempoPlacementKind)
 
- Static Public Member Functions inherited from msrMeasureElement
static bool compareMeasureElementsByIncreasingPositionInMeasure (const SMARTP< msrMeasureElement > &first, const SMARTP< msrMeasureElement > &second)
 

Protected Member Functions

 msrTempo (int inputLineNumber, S_msrWords tempoWords)
 
 msrTempo (int inputLineNumber, msrDottedDuration tempoBeatUnit, string tempoPerMinute, msrTempoParenthesizedKind tempoParenthesizedKind, msrPlacementKind tempoPlacementKind)
 
 msrTempo (int inputLineNumber, msrDottedDuration tempoBeatUnit, msrDottedDuration tempoEquivalentBeatUnit, msrTempoParenthesizedKind tempoParenthesizedKind, msrPlacementKind tempoPlacementKind)
 
 msrTempo (int inputLineNumber, S_msrTempoRelationshipElements tempoRelationLeftElements, S_msrTempoRelationshipElements tempoRelationRightElements, msrTempoParenthesizedKind tempoParenthesizedKind, msrPlacementKind tempoPlacementKind)
 
- Protected Member Functions inherited from msrMeasureElement
 msrMeasureElement (int inputLineNumber)
 
- Protected Member Functions inherited from msrElement
 msrElement (int inputLineNumber)
 
- Protected Member Functions inherited from smartable
 smartable (const smartable &)
 
virtual ~smartable ()
 destructor checks for non-zero refCount
 
smartableoperator= (const smartable &)
 

Additional Inherited Members

- Protected Attributes inherited from msrMeasureElement
string fMeasureElementMeasureNumber
 
rational fMeasureElementPositionInMeasure
 
rational fMeasureElementSoundingWholeNotes
 
- Protected Attributes inherited from msrElement
int fInputLineNumber
 

Member Function Documentation

◆ acceptIn()

virtual void acceptIn ( basevisitor v)
virtual

Reimplemented from msrMeasureElement.

◆ acceptOut()

virtual void acceptOut ( basevisitor v)
virtual

Reimplemented from msrMeasureElement.

◆ asString()

string asString ( ) const
virtual

Reimplemented from msrMeasureElement.

◆ browseData()

virtual void browseData ( basevisitor v)
virtual

Implements msrMeasureElement.

◆ print()

virtual void print ( ostream &  os) const
virtual

Reimplemented from msrMeasureElement.