#include <TTimeSign.h>
Inheritance diagram for TTimeSign:
Public Types | |
enum | { undefined = -1, groupbeats = -1, common = 1, cut, single_number, normal, last = normal } |
Public Member Functions | |
virtual void | accept (TScoreVisitor &visitor) |
void | setSymbol (int symbol) |
int | getSymbol () const |
long | add (long beat, long type) |
beat type must be groupbeat for the first elements of a composite like 3+2/8 | |
bool | measured () const |
senza measures are implicitely denoted by an empty beat list | |
TRational | rational () |
returns the time signature as a rational number (senza measure is -1/1) | |
vector< long > & | getBeats () |
vector< long > & | getBeatTypes () |
Static Public Member Functions | |
const string | xmlsymbol (int d) |
convert an integer symbol to a MusicXML string | |
int | xmlsymbol (const string str) |
convert an MusicXML string to an integer symbol | |
Protected Member Functions | |
TTimeSign () | |
empty constructor denotes unmeasured time | |
Friends | |
EXP friend SMARTP< TTimeSign > | newTimeSign () |