source file of the GNU LilyPond music typesetter
- (c) 1999--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1999--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include "music-wrapper-iterator.hh"
#include "direction.hh"
-class Auto_change_iterator : public Music_wrapper_iterator
+class Auto_change_iterator : public Music_wrapper_iterator
{
- Direction where_dir_;
-
- void change_to (Music_iterator* , String, String);
-protected:
- virtual void do_process_and_next (Moment);
public:
+ VIRTUAL_COPY_CONS (Music_iterator);
+ DECLARE_SCHEME_CALLBACK(constructor, ());
+
Auto_change_iterator ();
+
+protected:
+ virtual void process (Moment);
+ Array<Pitch> pending_pitch (Moment)const;
+private:
+ Direction where_dir_;
+ void change_to (Music_iterator* , String, String);
};
#endif /* AUTO_CHANGE_ITERATOR_HH */