summaryrefslogtreecommitdiff
path: root/src/sccol.cc
blob: 1dfc8f21764c9c898fef527a15071410e42caa3e (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include "sccol.hh"
#include "debug.hh"

Score_column::Score_column(Real w)
{
    when = w;
    pcol = new PCol(0);
    musical = false;
}

bool
Score_column::used() {
    return pcol->used;
}

void
Score_column::print() const
{
#ifndef NPRINT
    mtor << "Score_column { mus "<< musical <<" at " <<  when<<'\n';
    mtor << "durations: [";
    for (int i=0; i < durations.sz(); i++)
	mtor << durations[i] << " ";
    mtor << "]\n";
    pcol->print();
    mtor << "}\n";
#endif
}