2 property-iterator.hh -- declare Property_iterator
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
9 #ifndef PROPERTY_ITERATOR_HH
10 #define PROPERTY_ITERATOR_HH
12 #include "simple-music-iterator.hh"
17 class Property_iterator : public Simple_music_iterator
20 DECLARE_SCHEME_CALLBACK (constructor, ());
21 DECLARE_SCHEME_CALLBACK (once_finalization, (SCM, SCM));
22 DECLARE_CLASSNAME(Property_iterator);
25 virtual void do_quit ();
26 virtual void process (Moment);
32 class Property_unset_iterator : public Simple_music_iterator
35 DECLARE_SCHEME_CALLBACK (constructor, ());
36 DECLARE_CLASSNAME(Property_unset_iterator);
38 virtual void process (Moment);
41 class Push_property_iterator : public Simple_music_iterator
44 DECLARE_SCHEME_CALLBACK (constructor, ());
45 DECLARE_SCHEME_CALLBACK (once_finalization, (SCM, SCM));
46 DECLARE_CLASSNAME(Push_property_iterator);
48 virtual void process (Moment);
49 virtual void do_quit ();
52 class Pop_property_iterator : public Simple_music_iterator
55 DECLARE_SCHEME_CALLBACK (constructor, ());
56 DECLARE_CLASSNAME(Pop_property_iterator);
58 virtual void process (Moment);
61 #endif // PROPERTY_ITERATOR_HH