2 context-specced-music-iterator.cc -- implement
3 Context_specced_music_iterator
5 source file of the GNU LilyPond music typesetter
7 (c) 2002--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
11 #include "music-wrapper-iterator.hh"
12 #include "translator-group.hh"
14 class Context_specced_music_iterator : public Music_wrapper_iterator
17 DECLARE_SCHEME_CALLBACK(constructor,());
18 virtual void construct_children ();
22 Context_specced_music_iterator::construct_children ()
24 SCM ct = get_music ()->get_mus_property ("context-type");
27 SCM ci = get_music ()->get_mus_property ("context-id");
29 c_id = ly_scm2string (ci);
30 SCM ops = get_music ()->get_mus_property ("property-operations");
33 = get_outlet ()->find_create_translator (ct, c_id, ops);
38 Music_wrapper_iterator::construct_children();
40 IMPLEMENT_CTOR_CALLBACK(Context_specced_music_iterator);