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

TRepeat Class Reference

Represents repeat marks. More...

#include <TBarline.h>

Inheritance diagram for TRepeat:

visitable smartable List of all members.

Public Types

enum  { undefined = 0, backward, forward, last = forward }

Public Member Functions

virtual void accept (TScoreVisitor &visitor)
int getDirection () const
int getTimes () const
void setDirection (int dir)
void setTimes (int times)

Static Public Member Functions

const string xmldirection (int d)
 convert an integer direction to a MusicXML string

int xmldirection (const string str)
 convert an MusicXML string to an integer direction


Protected Member Functions

 TRepeat (int direction)

Friends

EXP friend SMARTP< TRepeatnewRepeat (int direction)

Detailed Description

The start of the repeat has a forward direction while the end of the repeat has a backward direction. Backward repeats that are not part of an ending can use the times attribute to indicate the number of times the repeated section is played.
The MusicXML repear element is defined in barline.dtd.


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