class Part
|
A Part is thought of as a container for events (like Notes, MasterEvents, etc. More... |
|
|
Public Methods
- Part ()
- Part (const Part&)
- Part (Track*)
- ~Part ()
- Position start () const
- Position start (Event * ev) const
- long end (Event * ev) const
- int key () const
- int clef () const
- int meter0 ()
- int meter1 ()
- int program () const
- Track * track () const
- void setStart (Position)
- void setStart (Event * ev, Position pos)
- void setKey (int key)
- void setClef (int clef)
- void setMeter (int numerator,int denominator)
- void setMeter0 (int numerator)
- void setMeter1 (int denominator)
- void setProgram (int program)
- void setTrack (Track *)
- bool eventEndsAt (Event * ev, long p)
- bool eventStartsAt (Event * ev, long p)
- bool eventStartsAfter (Event * ev, long p)
- PrPart * presentation () const
- void hide ()
- void show ()
- Event * grabEvent (Position p)
- Reference * makeRefs (int lowPitch, int highPitch, long left, long right)
- void reorder ()
- void partCopy ()
- Part * partGlue ()
- Event * partSplit (Position p)
- virtual void add (Element *)
- Symbol * setSymbol (Position p, int sym, int off, int par=-1)
- virtual ostream & print (int,ostream&) const
- virtual void flush (const char*) const
- virtual Element * copy () const
- Element * ghostcopy ()
- Part * ghostOf () const
- int ghosts () const
- void incGhosts ()
- void decGhosts ()
Public Static Methods
Protected Members
A Part is thought of as a container for events (like Notes, MasterEvents, etc. An Event is
an Atom which has a position and a length). These events have to appear ordered in their
position property. More than one event at the same position are admitted.
[protected]
* The Part's Constructors
* -----------------------
[const]
* Manipulationg the Part's Properties
* -----------------------------------
[const]
long end (Event * ev)
| end |
[const]
[const]
[const]
[const]
[const]
void setKey (int key)
| setKey |
void setClef (int clef)
| setClef |
void setMeter (int numerator,int denominator)
| setMeter |
void setMeter0 (int numerator)
| setMeter0 |
void setMeter1 (int denominator)
| setMeter1 |
void setProgram (int program)
| setProgram |
void setTrack (Track *)
| setTrack |
bool eventEndsAt (Event * ev, long p)
| eventEndsAt |
bool eventStartsAt (Event * ev, long p)
| eventStartsAt |
bool eventStartsAfter (Event * ev, long p)
| eventStartsAfter |
PrPart * presentation ()
| presentation |
[const]
This funktion returns a pointer to its presentation
Reimplemented from Compound.
Reimplemented from Compound.
* Other Functionality
* -------------------
Reference * makeRefs (int lowPitch, int highPitch, long left, long right)
| makeRefs |
returns a list of references containing events between left and right, where notes also
have their pitch to be between lowPitch and highPitch
void partCopy ()
| partCopy |
Part * partGlue ()
| partGlue |
glues two parts. Returns the 'lost' part which should not be deleted if the operation is to be undone
splits the part at position p and returns the event after p (or null)
[virtual]
this add method differs from the compounds add method by inserting the new element not at the end of the part, but
at the correct position
Reimplemented from Compound.
Symbol * setSymbol (Position p, int sym, int off, int par=-1)
| setSymbol |
[const virtual]
* Virtual operations, each element has to implement
* -------------------------------------------------
Reimplemented from Compound.
void flush (const char*)
| flush |
[const virtual]
Reimplemented from Compound.
[const virtual]
Reimplemented from Compound.
Part * ghostOf ()
| ghostOf |
[const]
[const]
void incGhosts ()
| incGhosts |
void decGhosts ()
| decGhosts |
[static]
Generated by: wuerthne on al on Sun Jan 6 22:32:42 2002, using kdoc 2.0a53. |