]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/request-chord-iterator.hh
fb9b38e0428d6b6c9b37710dd9950fc04bddcb06
[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--2000 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 void construct_children();
35   virtual bool ok() const;
36   virtual void do_print() const;
37 };
38
39
40 #endif // REQUEST_ITER_HH