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

TOctaveShift Class Reference

#include <TDirection.h>

Inheritance diagram for TOctaveShift:

TDirectionTypeElement Positionable visitable smartable List of all members.

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< TOctaveShiftnewOctaveShift (int type)

Detailed Description

The MusicXML octave-shift element.

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.


Generated on Tue Mar 23 09:50:11 2004 for LibMusicXML by doxygen 1.3.3