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

TAccidental Class Reference

Representation of an accidental. More...

#include <TNote.h>

Inheritance diagram for TAccidental:

visitable smartable List of all members.

Public Types

enum  accident {
  undefined = -1, sharp = 1, natural, flat,
  double_sharp, sharp_sharp, flat_flat, natural_sharp,
  natural_flat, quarter_flat, quarter_sharp, three_quarters_flat,
  three_quarters_sharp, last = three_quarters_sharp
}

Public Member Functions

virtual void accept (TScoreVisitor &visitor)
accident getAccident () const
YesNo::type getCautionary () const
YesNo::type getEditorial () const
FullCue::type getSize () const
void setAccident (accident acc)
void setCautionary (YesNo::type yn)
void setEditorial (YesNo::type yn)
void setSize (FullCue::type size)

Static Public Member Functions

const string xmlaccidental (accident d)
 convert a numeric accidental type to a MusicXML string

accident xmlaccidental (const string str)
 convert an MusicXML string to a numeric accidental type


Friends

EXP friend SMARTP< TAccidentalnewAccidental ()

Detailed Description

Actual notated accidentals. Valid values include: sharp, natural, flat, double-sharp, sharp-sharp, flat-flat, natural-sharp, natural-flat, quarter-flat, quarter-sharp, three-quarters-flat, and three-quarters-sharp. Editorial and cautionary indications, are indicated by attributes. Values for these attributes are "no" if not present.
The MusicXML accidental element is defined in note.dtd.


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