lilypond-0.1.57
[lilypond.git] / lily / property-iterator.cc
blob2a191dead80b25da68f43f2a11fb4d3b8c8727ea
1 /*
2 property-iterator.cc -- implement Property_iterator
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
9 #include "property-iterator.hh"
10 #include "translation-property.hh"
11 #include "translator-group.hh"
13 Property_iterator::Property_iterator (Translation_property *prop_l)
15 property_l_ = prop_l;
18 void
19 Property_iterator::process_and_next (Moment m)
21 if (property_l_->var_str_.length_i ())
22 report_to_l ()->set_property (property_l_->var_str_, property_l_->value_);
23 Music_iterator::process_and_next (m);
26 IMPLEMENT_IS_TYPE_B1(Property_iterator, Music_iterator);