]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/system.hh
* lily, lily/include: Rename line to system. Junk _l suffix.
[lilypond.git] / lily / include / system.hh
1
2 /*
3   line-of-score.hh -- part of GNU LilyPond
4
5   (c) 1996--2002 Han-Wen Nienhuys
6 */
7
8 #ifndef SYSTEM_HH
9 #define SYSTEM_HH
10
11
12 #include "column-x-positions.hh"
13 #include "spanner.hh"
14
15 /*
16   If you keep following offset reference points, you will always end
17 up at the root object. This root object is called @ref{System}, and it
18 represents a system (i.e. a line of music).
19
20
21  */
22 class System : public Spanner
23 {
24 public:
25   int rank_i_;
26   void post_processing (bool);
27
28   System (SCM);
29   /// is #c# contained in #*this#?
30   bool contains_b (Paper_column const *c) const;
31   int element_count () const;
32
33   void break_into_pieces (Array<Column_x_positions> const&);
34   void output_lines ();
35   static bool has_interface (Grob*);
36   
37   Link_array<Item> broken_col_range (Item const*, Item const*) const;
38   Link_array<Grob> column_l_arr () const;
39   
40   void add_column (Paper_column*);
41   void typeset_grob (Grob*);
42   void output_molecule (SCM, Offset);
43   void output_scheme (SCM);
44   void pre_processing ();
45 protected:
46   VIRTUAL_COPY_CONS (Grob);
47 };
48
49 #endif /* SYSTEM_HH */
50