2 input-staff.cc -- implement Input_staff
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
11 #include "input-music.hh"
12 #include "input-staff.hh"
14 #include "my-lily-lexer.hh"
15 #include "input-register.hh"
17 Input_staff::Input_staff()
23 Input_staff::add(Input_music*m)
25 music_.bottom().add(m);
29 Input_staff::parse(Score*score_l)
33 p->score_l_ = score_l;
34 p->ireg_p_ = (ireg_p_)? new Input_register(*ireg_p_):0;
35 for (iter_top(music_,i); i.ok(); i++) {
36 Voice_list vl = i->convert();
42 Input_staff::Input_staff(Input_staff const&s)
45 for (iter_top(s.music_,i); i.ok(); i++)
48 ireg_p_ = (s.ireg_p_)? new Input_register(*s.ireg_p_):0;
52 Input_staff::print() const
55 mtor << "Input_staff {\n";
56 for (iter_top(music_,i); i.ok(); i++)
62 Input_staff::~Input_staff()