]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/property-iterator.hh
release: 1.3.107
[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 "simple-music-iterator.hh"
14
15
16
17
18 /**
19   Iterate a property.  
20  */
21 class Property_iterator : public Simple_music_iterator
22 {
23 public:
24   VIRTUAL_COPY_CONS (Music_iterator);
25   static SCM constructor_cxx_function;
26   /* construction */
27 protected:
28   virtual void process (Moment);
29 };
30
31 class Push_property_iterator : public Simple_music_iterator
32 {
33 public:
34   VIRTUAL_COPY_CONS (Music_iterator);
35   static SCM constructor_cxx_function;  
36 protected:
37   /* construction */
38   virtual void process (Moment);
39 };
40
41 class Pop_property_iterator : public Simple_music_iterator
42 {
43 public:
44   static SCM constructor_cxx_function;
45   VIRTUAL_COPY_CONS (Music_iterator);
46 protected:
47   /* construction */
48   virtual void process (Moment);
49 };
50
51
52 #endif // PROPERTY_ITERATOR_HH