2 note-column.hh -- declare Note_column
4 source file of the LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
10 #ifndef NOTE_COLUMN_HH
11 #define NOTE_COLUMN_HH
13 #include "script-column.hh"
15 /** a struct for treating a group of noteheads (noteheads, stem
16 (chord) and scripts ) as a single entity. */
17 class Note_column : public Script_column {
18 /// link to the stem. For setting default direction
20 void do_pre_processing();
24 Array<Notehead*> head_l_arr_;
25 Interval_t<int> head_positions_interval()const;
27 /** The relative position of the "voice" containing this
28 chord. Normally this would be the same as the stem direction,
29 but rests do not have stems. */
33 NAME_MEMBERS(Note_column);
38 void add(Script* s) { Script_column::add(s);}
41 #endif // NOTE_COLUMN_HH