X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fmusic-wrapper-iterator.hh;h=69188937c1a0a5f82496bf8d389c515d94a74994;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=a9c514382587429e7d75c1077e1d43bf7eb1632c;hpb=45f9f9a9e20cd16ea8ef0ae5410a6d71495b962f;p=lilypond.git diff --git a/lily/include/music-wrapper-iterator.hh b/lily/include/music-wrapper-iterator.hh index a9c5143825..69188937c1 100644 --- a/lily/include/music-wrapper-iterator.hh +++ b/lily/include/music-wrapper-iterator.hh @@ -1,43 +1,40 @@ -/* +/* music-wrapper-iterator.hh -- declare Music_wrapper_iterator - + source file of the GNU LilyPond music typesetter - - (c) 1998--2000 Han-Wen Nienhuys - - */ + + (c) 1998--2008 Han-Wen Nienhuys +*/ #ifndef MUSIC_WRAPPER_ITERATOR_HH #define MUSIC_WRAPPER_ITERATOR_HH -#include "music.hh" #include "music-iterator.hh" -/** - The iterator for a #Music_wrapper#. Since #Music_wrapper# essentially - does nothing, this iterator creates a child iterator and delegates - all work to that child. - */ +/** + The iterator for a #Music_wrapper#. Since #Music_wrapper# essentially + does nothing, this iterator creates a child iterator and delegates + all work to that child. +*/ class Music_wrapper_iterator : public Music_iterator { public: + DECLARE_SCHEME_CALLBACK (constructor, ()); Music_wrapper_iterator (); - ~Music_wrapper_iterator (); + DECLARE_CLASSNAME(Music_wrapper_iterator); - virtual void construct_children () ; - virtual Moment next_moment () const; + virtual void derived_substitute (Context *f, Context *t); + virtual void derived_mark () const; + virtual void construct_children (); + virtual Moment pending_moment () const; + virtual void do_quit (); virtual bool ok () const; - virtual Music *get_next_music (); - + virtual bool run_always () const; protected: - virtual void do_print () const; - virtual void do_process_and_next (Moment) ; - virtual Music_iterator *try_music_in_children (Music *) const; + virtual void process (Moment); - Music_iterator *child_iter_p_; + Music_iterator *child_iter_; }; #endif /* MUSIC_WRAPPER_ITERATOR_HH */ - -