Main Page | Modules | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | Related Pages

TEnding Class Reference

Endings refers to multiple (e.g. first and second) endings. More...

#include <TBarline.h>

Inheritance diagram for TEnding:

visitable smartable List of all members.

Public Types

enum  { start = 1, stop, discontinue, last = discontinue }

Public Member Functions

virtual void accept (TScoreVisitor &visitor)
void setNum (long num)
void setType (int type)
long getNum () const
int getType () const

Static Public Member Functions

const string xmltype (int d)
 convert an integer ending type to a MusicXML string

int xmltype (const string str)
 convert an MusicXML string to an integer ending type


Protected Member Functions

 TEnding (long num, int type)

Friends

EXP friend SMARTP< TEndingnewEnding (long num, int type)

Detailed Description

Typically, the start type is associated with the left barline of the first measure in an ending. The stop and discontinue types are associated with the right barline of the last measure in an ending. Stop is used when the ending mark concludes with a downward jog, as is the case for first endings. Discontinue is used when there is no downward jog, as in the final ending.
The MusicXML ending element is defined in barline.dtd.


Generated on Tue Mar 23 09:50:02 2004 for LibMusicXML by doxygen 1.3.3