]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/property-iterator.hh
patch::: 1.3.86.jcn1
[lilypond.git] / lily / include / property-iterator.hh
1 /*
2   property-iterator.hh -- declare Property_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 PROPERTY_ITERATOR_HH
11 #define PROPERTY_ITERATOR_HH
12
13 #include "music-iterator.hh"
14
15
16
17
18 /**
19   Iterate a property.  
20  */
21 class Property_iterator : public Music_iterator
22 {
23 public:
24   VIRTUAL_COPY_CONS (Music_iterator);
25   // construction  
26 protected:
27   virtual void do_process_and_next (Moment);
28 };
29
30 class Push_property_iterator : public Music_iterator
31 {
32 public:
33   VIRTUAL_COPY_CONS (Music_iterator);
34 protected:
35   virtual void do_process_and_next (Moment);
36 };
37
38 class Pop_property_iterator : public Music_iterator
39 {
40 public:
41   VIRTUAL_COPY_CONS (Music_iterator);
42 protected:
43   virtual void do_process_and_next (Moment);
44 };
45
46
47 #endif // PROPERTY_ITERATOR_HH