2 music-wrapper-iterator.hh -- declare Music_wrapper_iterator
4 source file of the GNU LilyPond music typesetter
6 (c) 1998--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
9 #ifndef MUSIC_WRAPPER_ITERATOR_HH
10 #define MUSIC_WRAPPER_ITERATOR_HH
12 #include "music-iterator.hh"
15 The iterator for a #Music_wrapper#. Since #Music_wrapper# essentially
16 does nothing, this iterator creates a child iterator and delegates
17 all work to that child.
19 class Music_wrapper_iterator : public Music_iterator
22 DECLARE_SCHEME_CALLBACK (constructor, ());
23 Music_wrapper_iterator ();
24 DECLARE_CLASSNAME(Music_wrapper_iterator);
26 virtual void derived_substitute (Context *f, Context *t);
27 virtual void derived_mark () const;
28 virtual void construct_children ();
29 virtual Moment pending_moment () const;
30 virtual void do_quit ();
31 virtual bool ok () const;
32 virtual bool run_always () const;
34 virtual void process (Moment);
36 Music_iterator *child_iter_;
39 #endif /* MUSIC_WRAPPER_ITERATOR_HH */