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

DivisionMap Class Reference
[Contraints of graphical objects]

#include <DivisionMap.h>

List of all members.

Public Member Functions

void setXSupport (int i, double x)
 DivisionMap ()
int nbSideSymbols (int)
void mapDivMS (int, MusicSymbol *)
void reset ()
void sideMapDivMS (int, MusicSymbol *)
bool hasSupport (int)


Detailed Description

This class maps music symbol to division support


Constructor & Destructor Documentation

DivisionMap::DivisionMap  ) 
 

Constructor of a division map


Member Function Documentation

bool DivisionMap::hasSupport int  div  ) 
 

This let us know if there is a division support for the division this function is quite processing exhaustive we could have a look after to see if some ordering would not speed up the program

void DivisionMap::mapDivMS int  div,
MusicSymbol ms
 

This maps a divsion another MS

Parameters:
div the division the Music Symbol

int DivisionMap::nbSideSymbols int  div  ) 
 

Returns:
the number of side symbols at div

void DivisionMap::reset  ) 
 

This destroy all the support

void DivisionMap::setXSupport int  div,
double  x
 

This function set the X of the support if it exist, it performs nothing otherwhise.

The time support is a construction that hold several symbol on a division. If you move the x of the support then all the symbols attached to it will move.

Returns:
the division support whose div is equals to the passed parameter

Profiling *

void DivisionMap::sideMapDivMS int  div,
MusicSymbol ms
 

This mathod attach a symbol to a division. But this symbol is at the left of the division. The distance of the division remains constant.


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