2 score-column.hh -- declare Score_column
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
10 #ifndef SCORE_COLUMN_HH
11 #define SCORE_COLUMN_HH
13 #include "lily-proto.hh"
20 When typesetting hasn't started on PScore yet, the columns which
21 contain data have a rhythmical position. Score_column is the type
22 with a rhythmical time attached to it. The calculation of
23 idealspacing is done with data in these columns. (notably: the
28 class Score_column : public PCol {
30 friend class Score_engraver;
35 /// length of notes/rests in this column
36 Array<Moment> durations;
40 Moment when() { return when_; }
41 Score_column(Moment when);
42 void add_duration(Moment );
44 bool musical_b() { return musical_b_; }
46 virtual void do_set_breakable();
51 #endif // SCORE_COLUMN_HH