diff options
Diffstat (limited to 'sccol.cc')
-rw-r--r-- | sccol.cc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sccol.cc b/sccol.cc new file mode 100644 index 0000000000..28955332d5 --- /dev/null +++ b/sccol.cc @@ -0,0 +1,28 @@ +#include "sccol.hh" +#include "debug.hh" + +Score_column::Score_column(Mtime 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 +} |