]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/request-chord-iterator.hh
0b35c447d62c6a3d4107d141029ee607337f2822
[lilypond.git] / lily / include / request-chord-iterator.hh
1 /*
2   request-iter.hh -- declare Request_chord_iterator
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef REQUEST_ITER_HH
11 #define REQUEST_ITER_HH
12
13 #include "music-iterator.hh"
14
15 /**
16    Walk through a Request_chord
17  */
18 class Request_chord_iterator : public Music_iterator {
19   Request_chord * elt_l () const;
20   /**
21      cache elt_l ()->length_mom ().
22    */
23   Moment elt_length_mom_;
24   bool last_b_;
25   Cons<Music>* cursor_;
26
27 public:
28   Request_chord_iterator ();
29   
30
31 protected:
32   virtual void do_process_and_next (Moment);
33   virtual Moment next_moment() const;
34   virtual Music* next_music_l ();
35   virtual void construct_children();
36   virtual bool ok() const;
37   virtual void do_print() const;
38 };
39
40
41 #endif // REQUEST_ITER_HH