2 score-column.hh -- declare Score_column
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1998 Han-Wen Nienhuys <hanwen@stack.nl>
10 #ifndef SCORE_COLUMN_HH
11 #define SCORE_COLUMN_HH
13 #include "lily-proto.hh"
19 Column with durational info.
21 The columns which contain data have a rhythmical
22 position. Score_column is the type with a rhythmical time attached
23 to it. The calculation of idealspacing is done with data in these
24 columns. (notably: the #durations# field)
28 class Score_column : public Paper_column {
30 friend class Score_engraver;
36 bool forced_break_b () { return forced_break_b_ ; }
37 DECLARE_MY_RUNTIME_TYPEINFO;
38 SCORE_ELEM_CLONE(Score_column);
39 /// length of notes/rests in this column
40 Array<Moment> durations;
44 Moment when() { return when_; }
45 Score_column (Moment when);
46 void add_duration (Moment);
48 bool musical_b() { return musical_b_; }
49 void do_print() const;
54 #endif // SCORE_COLUMN_HH