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

TAttributes Class Reference

Contains musical information that typically changes on measure boundaries. More...

#include <TAttributes.h>

Inheritance diagram for TAttributes:

TMusicData visitable smartable List of all members.

Public Types

enum  { undefined = -1 }

Public Member Functions

virtual void accept (TScoreVisitor &visitor)
void setDivisions (long div)
void setStaves (long staves)
void setInstrument (long inst)
long getDivision () const
long getStaves () const
long getInstrument () const
SKey & key ()
STimeSign & timeSign ()
STranspose & transpose ()
SDirective & directive ()
vvector< SClef > & clefs ()
long add (const SClef &clef)

Friends

EXP friend SMARTP< TAttributes > newAttributes ()

Detailed Description

It includes key and time signatures, clefs, transpositions, and staving. TAttributes corresponds to the MusicXML attribute element as defined in attributes.dtd.

Note:
MusicXML editorial information is ignored.

Todo:
clarify the Instrument type and semantic

support of the staff-details and measure-style elements


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