2 Sequential_music-iterator.hh -- declare Sequential_music_iterator
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
9 #ifndef SEQUENTIAL_MUSIC_ITERATOR_HH
10 #define SEQUENTIAL_MUSIC_ITERATOR_HH
12 #include "music-iterator.hh"
14 /** Sequential_music iteration: walk each element in turn, and
15 construct an iterator for every element.
18 class Sequential_music_iterator : public Music_iterator
21 VIRTUAL_COPY_CONS (Music_iterator);
22 Sequential_music_iterator ();
23 Sequential_music_iterator (Sequential_music_iterator const&);
24 virtual ~Sequential_music_iterator ();
26 virtual void construct_children ();
27 virtual Moment next_moment () const;
28 virtual bool ok () const;
29 virtual Music* get_music ();
33 virtual void do_print() const;
34 virtual void do_process_and_next (Moment);
35 virtual Music_iterator *try_music_in_children (Music *) const;
42 Music_iterator * iter_p_;
45 perhaps these can be virtual and protected iso. private?
47 void start_next_element();
49 void set_sequential_music_translator();
52 #endif // SEQUENTIAL_MUSIC_ITERATOR_HH