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

MeasureInserter Class Reference

#include <MeasureInserter.h>

Inheritance diagram for MeasureInserter:

MusicObject AttributeMusic EventMC KeyMC TimeMusic DirectionMC NoteMusic DynamicsMC PitchedNoteMusic RestMusic LyricNoteMusic List of all members.

Public Member Functions

void setMark (QString)
QString getMark ()
 MeasureInserter (int i=-1)
void setStaff (int i)
virtual QString getSymbolName ()=0
virtual QString getType ()

Protected Attributes

int staff
QString mark

Detailed Description

The measure inserter shoud be implement mented bye exery elements intended to be inserted in a measure that are : Note,Clef plus those element should have the capability to be represented


Constructor & Destructor Documentation

MeasureInserter::MeasureInserter int  i = -1  ) 
 

In the constructor, the staff n° is ste by default to -1


Member Function Documentation

virtual QString MeasureInserter::getSymbolName  )  [pure virtual]
 

Returns:
the symbol associated with the symbol

Implemented in AttributeMusic, NoteMusic, PitchedNoteMusic, RestMusic, and TimeMusic.

QString MeasureInserter::getType  )  [virtual]
 

Returns:
the type(family) of the MI it will be usefull for the factory

Reimplemented in AttributeMusic, PitchedNoteMusic, LyricNoteMusic, and RestMusic.

void MeasureInserter::setMark QString  s  ) 
 

For a debugging purpose we can mark note so the debug mark will be represented close to the symbol

void MeasureInserter::setStaff int  i  ) 
 

Use this méthode if it is a staffInserter *

Reimplemented in NoteMusic.


Member Data Documentation

int MeasureInserter::staff [protected]
 

We use the staff parameter to determine wether the measureinserter is also a staff inserter. i.e it has a property staff >0. We set this to -1 by default and give the Measure inserter a setter for this property. *

Reimplemented in NoteMusic.


The documentation for this class was generated from the following files:
Generated on Tue Jun 1 21:13:33 2004 for Alternate Take by doxygen 1.3.6