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>
9 #include "property-iterator.hh"
10 #include "translation-property.hh"
11 #include "translator-group.hh"
13 Property_iterator::Property_iterator (Translation_property
*prop_l
)
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
);