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

TBeam Class Reference

beaming representation. More...

#include <TNote.h>

Inheritance diagram for TBeam:

visitable smartable List of all members.

Public Types

enum  beamtype {
  undefined = -1, beambegin = 1, beamcontinue, beamend,
  beamforward, beambackward, last = beambackward
}

Public Member Functions

beamtype getType () const
int getNumber () const
YesNo::type getRepeater () const
void setType (beamtype type)
void setNumber (int num)
void setRepeater (YesNo::type r)
virtual void accept (TScoreVisitor &visitor)

Static Public Member Functions

const string xmlbeamtype (beamtype d)
 convert a numeric beam type to a MusicXML string

beamtype xmlbeamtype (const string str)
 convert an MusicXML string to a numeric beam type


Friends

EXP friend SMARTP< TBeamnewBeam ()

Detailed Description

Beam types include begin, continue, end, forward hook, and backward hook. In MuseData, up to six concurrent beams are available to cover up to 256th notes. This seems sufficient so we use an enumerated type defined in common.dtd. The repeater attribute needs to be specified with a "yes" value for each beam using it.
The MusicXML beam element as defined in note.dtd.


Generated on Tue Mar 23 09:49:55 2004 for LibMusicXML by doxygen 1.3.3