- Music_iterator * p =0;
- if (m->is_type_b (Request_chord::static_name()))
- p = new Request_chord_iterator ((Request_chord*) m);
- else if (m->is_type_b (Chord::static_name()))
- p = new Chord_iterator ((Chord*) m);
- else if (m->is_type_b (Voice::static_name()))
- p = new Voice_iterator ((Voice*) m);
-
- if (m -> type_str_ != "") {
- Translator * a =report_l->
- find_get_translator_l (m-> type_str_, m->id_str_);
- p->set_translator (a);
- }
-
-
- if (! p->report_to_l())
- p ->set_translator (report_l);
-
- return p;