]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/score-column.hh
eff9441bf364b1a492c088181f66b0a788094b9b
[lilypond.git] / lily / include / score-column.hh
1 /*
2   score-column.hh -- declare Score_column
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef SCORE_COLUMN_HH
11 #define SCORE_COLUMN_HH
12
13 #include "lily-proto.hh"
14 #include "array.hh"
15 #include "moment.hh"
16 #include "paper-column.hh"
17
18 /**
19   Column with durational info.
20   
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.
25
26   */
27
28 class Score_column : public Paper_column {
29   Moment when_;
30 public:
31   Moment shortest_playing_mom_;
32   Moment shortest_starter_mom_;
33
34   
35   VIRTUAL_COPY_CONS(Score_element);
36
37   Moment when_mom() { return when_; }
38   Score_column (Moment when);
39
40   bool musical_b() const;
41   void do_print() const;
42 };
43
44 #endif // SCORE_COLUMN_HH
45
46
47
48
49
50