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

TBracket Class Reference

The MusicXML bracket element. More...

#include <TDirection.h>

Inheritance diagram for TBracket:

TDirectionTypeElement Positionable visitable smartable List of all members.

Public Types

enum  {
  undefined = -1, up = 1, down, both,
  arrow, none, last = none
}

Public Member Functions

virtual void accept (TScoreVisitor &visitor)
void setType (StartStop::type type)
void setNumber (int num)
void setLineEnd (int lend)
void setLineType (LineType::type t)
StartStop::type getType () const
int getNumber () const
int getLineEnd () const
LineType::type getLineType () const

Static Public Member Functions

const string xmllineend (int d)
 convert an numeric line end value to a MusicXML string

int xmllineend (const string str)
 convert an MusicXML string to a numeric line end value


Protected Member Functions

 TBracket (StartStop::type t)

Friends

EXP friend SMARTP< TBracketnewBracket (StartStop::type t)

Detailed Description

Brackets are combined with words in a variety of modern directions. The line-end attribute specifies if there is a jog up or down (or both), an arrow, or nothing at the start or end of the bracket. The line-type is solid by default.
The MusicXML bracket element is defined in direction.dtd.


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