#include <TNote.h>
Inheritance diagram for TGraphNote:
Public Types | |
enum | { undefined = -1, stemdown = 1, stemup, stemnone, stemdouble, last = stemdouble } |
Public Member Functions | |
virtual void | accept (TScoreVisitor &visitor) |
void | setVoice (long voice) |
the corresponding note voice | |
void | setType (NoteType::type type) |
the graphical note sign (whole, half, quarter, ...) corresponds to the type element | |
void | setSize (FullCue::type size) |
the note size (full or cue) | |
void | setDots (unsigned long dots) |
the number of dots | |
void | setStem (long stem) |
stems can be down, up, none, or double. | |
void | setStaff (long staff) |
staff assignment (only needed for music notated on the grand staff) | |
long | getVoice () const |
NoteType::type | getType () const |
FullCue::type | getSize () const |
unsigned int | getDots () const |
int | getStem () const |
int | getStaff () const |
long | add (const SBeam &beam) |
long | add (const SNotation ¬ation) |
SAccidental & | accidental () |
graphical accidentals | |
STimeModification & | timemodification () |
graphical element for tuplets | |
SNoteHead & | notehead () |
the shape of the note head | |
vvector< SBeam > & | beamList () |
beaming definition | |
vvector< SNotation > & | notationList () |
notations elements (accents, slurs, etc...) | |
Static Public Member Functions | |
const string | xmlstem (int d) |
convert an integer stem attribute to a MusicXML string | |
int | xmlstem (const string str) |
convert an MusicXML string to an integer stem attribute | |
Friends | |
EXP friend SMARTP< TGraphNote > | newGraphNote () |