summaryrefslogtreecommitdiff
path: root/src/sccol.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/sccol.cc')
-rw-r--r--src/sccol.cc28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/sccol.cc b/src/sccol.cc
new file mode 100644
index 0000000000..1dfc8f2176
--- /dev/null
+++ b/src/sccol.cc
@@ -0,0 +1,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
+}