2 music-wrapper-iterator.hh -- declare Music_wrapper_iterator
4 source file of the GNU LilyPond music typesetter
6 (c) 1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef MUSIC_WRAPPER_ITERATOR_HH
11 #define MUSIC_WRAPPER_ITERATOR_HH
14 #include "music-iterator.hh"
17 The iterator for a #Music_wrapper#. Since #Music_wrapper# essentially
18 does nothing, this iterator creates a child iterator and delegates
19 all work to that child.
21 class Music_wrapper_iterator : public Music_iterator
24 Music_wrapper_iterator ();
25 ~Music_wrapper_iterator ();
27 virtual void construct_children () ;
28 virtual Moment next_moment () const;
29 virtual bool ok () const;
32 Music_wrapper *music_wrapper_l () const;
33 virtual void do_print () const;
34 virtual void do_process_and_next (Moment) ;
37 Music_iterator *child_iter_p_;
40 #endif /* MUSIC_WRAPPER_ITERATOR_HH */