]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/music-wrapper-iterator.hh
release: 1.1.53
[lilypond.git] / lily / include / music-wrapper-iterator.hh
index cae63b2096ccab8e3a3789f980daa4202bebe9b0..f691270056e24374d377c4cec4cae9f47f2e89c6 100644 (file)
@@ -1,9 +1,9 @@
 /*   
-  music-wrapper-iterator.hh -- declare 
+  music-wrapper-iterator.hh -- declare Music_wrapper_iterator
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1998--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
 #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.
+ */
 class Music_wrapper_iterator : public Music_iterator
 {
 public:
   Music_wrapper_iterator ();
+  ~Music_wrapper_iterator ();
 
-protected:
-  virtual ~Music_wrapper_iterator ();
-
-  virtual void do_print () const;
   virtual void construct_children  () ;
-  virtual void do_process_and_next (Moment) ;
   virtual Moment next_moment () const;
-
-protected:
-  virtual Music_wrapper *music_wrapper_l () const;
   virtual bool ok () const;
 
-private:
+protected:
+  virtual void do_print () const;
+  virtual void do_process_and_next (Moment) ;
   Music_iterator *child_iter_p_;
 };