6 Voice::set_default_group(String s)
8 elts.top()->set_default_group(s);
11 Voice::Voice(Voice const&src)
13 for (iter_top(src.elts, i); i.ok(); i++)
14 add(new Voice_element(**i));
25 Voice::add(Voice_element*v)
35 mtor << "start: "<< start<<eol;
36 for (iter_top(elts,i); i.ok(); i++)
48 for (iter_top(elts,i); i.ok(); i++)
52 /* *************************************************************** */
54 Voice_element::print() const
57 mtor << "voice_element { dur :"<< duration <<"\n";
58 for (iter_top(reqs,rc); rc.ok(); rc++) {
65 Voice_element::add(Request*r)
68 assert (!duration || duration == r->duration());
69 duration = r->duration();
77 Voice_element::Voice_element()
84 Voice_element::Voice_element(Voice_element const&src)
86 defined_ch_c_l_m = src.defined_ch_c_l_m;
87 // are you sure? They can be modified after copying.
89 for (iter_top(src.reqs, i); i.ok(); i++)
94 Voice_element::set_default_group(String s)
96 for (iter_top(reqs, i); i.ok(); i++)
99 Group_change_req *greq = new Group_change_req;
100 greq->newgroup_str_ = s;