]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/request-iterator.hh
release: 1.0.15
[lilypond.git] / lily / include / request-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--1998 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 ()->duration ().
22    */
23   Moment elt_duration_;
24   bool last_b_;
25
26 public:
27   Request_chord_iterator ();
28   DECLARE_MY_RUNTIME_TYPEINFO;
29
30 protected:
31   virtual void do_process_and_next (Moment);
32   virtual Moment next_moment() const;
33   virtual void construct_children();
34   virtual bool ok() const;
35   virtual void do_print() const;
36 };
37
38
39 #endif // REQUEST_ITER_HH