2 simultaneous-music-iterator.hh -- declare Simultaneous_music_iterator
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef SIMULTANEOUS_MUSIC_ITERATOR_HH
11 #define SIMULTANEOUS_MUSIC_ITERATOR_HH
12 #include "music-iterator.hh"
15 class Simultaneous_music_iterator : public Music_iterator
19 /// make a new context for every child.
20 bool separate_contexts_b_;
22 Simultaneous_music_iterator ();
23 virtual ~Simultaneous_music_iterator ();
25 virtual void construct_children ();
26 virtual Moment next_moment () const;
27 virtual bool ok () const;
30 virtual void do_print () const;
31 virtual void do_process_and_next (Moment);
32 virtual Music_iterator *try_music_in_children (Music const*) const;
36 Cons_list<Music_iterator> children_p_list_;
39 #endif // SIMULTANEOUS_MUSIC_ITERATOR_HH