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

AttributesMusic Class Reference
[Core Musical Objects]

#include <AttributesMC.h>

List of all members.

Public Member Functions

int size ()
void setUTFactor (int)
 AttributesMusic ()
AttributeMusicattributeAt (int i)
QPtrList< ClefMusic > getClefs ()
ClefMusic * getClef (int)
TimeMusicgetTime ()
void setClef (ClefMusic *)
void setTime (TimeMusic *)
void setDivisions (int)
void setStart (int)
int getStart ()
int getLTotalDivisions ()
int getUTotalDivisions ()
int getLDivisions ()
int getUDivisions ()
QString toString ()
KeyMCgetKey ()
void setKey (KeyMC *)
void setUFFactor (int)
int getBeats ()
int getBeatType ()

Public Attributes

QList< AttributeMusicattributes


Detailed Description

Represent the attributes of a measure, it is inserted into a measure so it is a measure inserter. This structure hold the divisions time measurement


Constructor & Destructor Documentation

AttributesMusic::AttributesMusic  ) 
 

Constructs an attribute MC object. By default, the start time is 0.


Member Function Documentation

AttributeMusic * AttributesMusic::attributeAt int  i  ) 
 

Returns:
the attribute at index i

int AttributesMusic::getBeats  ) 
 

Returns:
the number of beats, 0 if the measure has not a beat defined

int AttributesMusic::getBeatType  ) 
 

Returns:
the beat type , 4 if the measure has not a beat-type defined

ClefMusic * AttributesMusic::getClef int  n  ) 
 

Returns:
the clef of the attributes

QPtrList< ClefMusic > AttributesMusic::getClefs  ) 
 

Returns:
a vector of clef

KeyMC * AttributesMusic::getKey  ) 
 

Returns:
the key of the attributes

int AttributesMusic::getLDivisions  ) 
 

Returns:
the local number of division

int AttributesMusic::getLTotalDivisions  ) 
 

Returns:
the local number of divisions in the measure

int AttributesMusic::getStart  ) 
 

Returns:
the start time of the attributes

TimeMusic * AttributesMusic::getTime  ) 
 

Returns:
the time of the attributes

int AttributesMusic::getUDivisions  ) 
 

Returns:
the universal number of division

int AttributesMusic::getUTotalDivisions  ) 
 

Returns:
the universal number of divisions in the measure

void AttributesMusic::setDivisions int  i  ) 
 

set the number of divisions

void AttributesMusic::setStart int  i  ) 
 

Sets the start time of the attributes

void AttributesMusic::setTime TimeMusic tm  ) 
 

sets the time, remove any other time in those attributes

void AttributesMusic::setUTFactor int  utf  ) 
 

Set the universal time factor

QString AttributesMusic::toString  ) 
 

for a debuggin purpose


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