2 score-column.cc -- implement Score_column
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
11 #include "score-column.hh"
13 Score_column::Score_column (Moment w)
20 Score_column::do_print() const
23 DOUT << "mus "<< musical_b_ <<" at " << when_<<'\n';
24 DOUT << "durations: [";
25 for (int i=0; i < durations.size(); i++)
26 DOUT << durations[i] << " ";
28 Paper_column::do_print();
33 Moment_compare (Moment const &m1, Moment const &m2)
39 Score_column::preprocess()
41 durations.sort (Moment_compare);
45 Score_column::add_duration (Moment d)
49 warning (_("Ignoring zero duration added to column at ")
55 for (int i = 0; i< durations.size(); i++)
57 if (d == durations[i])
63 IMPLEMENT_IS_TYPE_B1(Score_column, Paper_column);