2 voice.cc -- implement Voice
4 source file of the LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
11 #include "musicalrequest.hh"
12 #include "commandrequest.hh"
15 Voice::set_default_group(String s
)
17 elts
.top()->set_default_group(s
);
20 Voice::Voice(Voice
const&src
)
22 for (iter_top(src
.elts
, i
); i
.ok(); i
++)
23 add(new Voice_element(**i
));
34 Voice::add(Voice_element
*v
)
44 mtor
<< "start: "<< start
<<eol
;
45 for (iter_top(elts
,i
); i
.ok(); i
++)
57 for (iter_top(elts
,i
); i
.ok(); i
++)