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

GroupedStemsMC Class Reference
[Core Musical Objects]

#include <GroupedStemsMC.h>

List of all members.

Public Member Functions

void setTuplet ()
bool isTuplet ()
 GroupedStemsMC ()
int getWeight ()
bool isHeterogen ()
void checkAndFixDirections ()
void add (NoteMusic *, int weight)
QString toString ()


Detailed Description

This class represent a group of stems in the same measure.


Constructor & Destructor Documentation

GroupedStemsMC::GroupedStemsMC  ) 
 

Constructs a new Grouped Stems, by default the grouped stem is not a tuplet


Member Function Documentation

void GroupedStemsMC::add NoteMusic n,
int  w
 

This add a note to the group of stems

void GroupedStemsMC::checkAndFixDirections  ) 
 

It seems that there are some mistakes in the XML samples of Recordare. This method is a little work around to check that the directions of the stems are coherent. The preeminent direction is the one of the first stem.

int GroupedStemsMC::getWeight  ) 
 

Returns:
the weight of a stems. This quantity is given by the lowest weight of all the note in the stem group. This method is mistaken

bool GroupedStemsMC::isHeterogen  ) 
 

Returns:
true if there are different duration in the stem

bool GroupedStemsMC::isTuplet  ) 
 

Returns:
true if the GroupedStems is a tuplet

void GroupedStemsMC::setTuplet  ) 
 

set the groupedStems to be a tuplet

QString GroupedStemsMC::toString  ) 
 

Returns:
the string representation of the group


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