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

DivisionSupport Class Reference
[Contraints of graphical objects]

#include <DivisionMap.h>

List of all members.

Public Member Functions

 DivisionSupport (int div, double x)
 DivisionSupport ()
void setX (double)
void appendSideMS (MusicSymbol *, double)
int nbSideSymbols ()

Public Attributes

int division


Detailed Description

This class links together a division and a list of music symbol with this class we know when a division change that we must also modify the symbol that is supported by this division.


Constructor & Destructor Documentation

DivisionSupport::DivisionSupport int  div,
double  px
 

Constructor of a division support

Parameters:
div is the division concerned

DivisionSupport::DivisionSupport  ) 
 

Empty constructor of a division support to let us use an hash map

Parameters:
div is the division concerned


Member Function Documentation

void DivisionSupport::appendSideMS MusicSymbol ms,
double  dist
 

This append a side MS

int DivisionSupport::nbSideSymbols  ) 
 

Returns:
the number of side symbols

void DivisionSupport::setX double  px  ) 
 

Set all the MS in the support to the x value in argument

Parameters:
x the new X. See if the getAttached Symbol method is used somewhere else If not, It is best to remove it because it can induce programming mistakes


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