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

AttributeMusic Class Reference
[Core Musical Objects]

#include <Attribute.h>

Inheritance diagram for AttributeMusic:

MeasureInserter MusicObject KeyMC TimeMusic List of all members.

Public Member Functions

virtual QString getSymbolName ()
virtual void print ()
virtual QString getType ()
void setTacit (bool)
bool isTacit ()
int getStaff ()
virtual QString toString ()
virtual QString getNature ()=0

Protected Member Functions

 AttributeMusic (int nstaff)

Protected Attributes

int nstaff
bool tacit

Detailed Description

! This virtual class will be inherited by every attribute : Cle, Beat


Constructor & Destructor Documentation

AttributeMusic::AttributeMusic int  n  )  [protected]
 

Constructor for an attribute music n is the staff number the attribute apply. Some attributes apply two all tha staves int the part int this case set n to -1

Parameters:
n the staff the attribute apply


Member Function Documentation

virtual QString AttributeMusic::getNature  )  [pure virtual]
 

Returns:
the nature of the attribute i.e clef, timesignature etc.

Implemented in KeyMC, and TimeMusic.

int AttributeMusic::getStaff  ) 
 

Returns:
the number of the staff

QString AttributeMusic::getSymbolName  )  [virtual]
 

Returns:
the symbol associated with the symbol

Implements MeasureInserter.

Reimplemented in TimeMusic.

QString AttributeMusic::getType  )  [virtual]
 

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

Reimplemented from MeasureInserter.

bool AttributeMusic::isTacit  ) 
 

Returns:
the number of the staff

void AttributeMusic::setTacit bool  t  ) 
 

If an attribute is tacit it will not be displayed

QString AttributeMusic::toString  )  [virtual]
 

Returns:
the string representation of an attribute

Reimplemented in KeyMC, and TimeMusic.


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