#include <TDirection.h>
Inheritance diagram for TOctaveShift:

Public Types | |
| enum | { undefined = -1, up = 1, down, stop, last = stop } |
Public Member Functions | |
| virtual void | accept (TScoreVisitor &visitor) |
| void | setType (int type) |
| void | setNumber (int num) |
| void | setSize (int size) |
| int | getType () const |
| int | getNumber () const |
| int | getSize () const |
Static Public Member Functions | |
| const string | xmltype (int d) |
| convert an numeric type value to a MusicXML string | |
| int | xmltype (const string str) |
| convert an MusicXML string to a numeric type value | |
Protected Member Functions | |
| TOctaveShift (int type) | |
Friends | |
| EXP friend SMARTP< TOctaveShift > | newOctaveShift (int type) |
Octave shifts indicate where notes are shifted up or down from their true pitched values because of printing difficulty. Thus a treble clef line noted with 8va will be indicated with an octave-shift down from the pitch data indicated in the notes. A size of 8 indicates one octave; a size of 15 indicates two octaves.
Defined in direction.dtd.
1.3.3