#include "debug.hh"
#include "music-list.hh"
-void
-Span_req::do_print () const
-{
-#ifndef NPRINT
- DEBUG_OUT << span_dir_;
-#endif
-}
Tremolo_req::Tremolo_req ()
{
type_i_ = 0;
}
-void
-Tremolo_req::do_print () const
-{
-#ifndef NPRINT
- DEBUG_OUT << "type " << type_i_ << '\n';
-#endif
-}
void
Melodic_req::transpose (Musical_pitch delta)
return Musical_pitch::compare (m1.pitch_, m2.pitch_);
}
-void
-Melodic_req::do_print () const
-{
- pitch_.print ();
-}
return rh && !compare (*this, *rh);
}
-void
-Rhythmic_req::do_print () const
-{
-#ifndef NPRINT
- DEBUG_OUT << "duration { " <<duration_.str () << "}";
-#endif
-}
Moment
duration_.compress (m);
}
-void
-Lyric_req::do_print () const
-{
-#ifndef NPRINT
- Rhythmic_req::do_print ();
- DEBUG_OUT << "text = " << text_str_;
-#endif
-}
bool
-void
-Note_req::do_print () const
-{
-#ifndef NPRINT
- Melodic_req::do_print ();
- if (cautionary_b_)
- {
- DEBUG_OUT << " force cautionary accidental\n";
- }
- else if (forceacc_b_)
- {
- DEBUG_OUT << " force accidental\n";
- }
- Rhythmic_req::do_print ();
-#endif
-}
bool
span_dir_ = CENTER;
}
-void
-Text_script_req::do_print () const
-{
- DEBUG_OUT << "text" << text_str_
- << ", style = " << style_str_;
-}
bool
Text_script_req::do_equal_b (Request const* r) const
return t && t->text_str_ == text_str_ && t->style_str_ == style_str_;
}
-void
-Articulation_req::do_print () const
-{
- DEBUG_OUT << articulation_str_;
-}
bool
Articulation_req::do_equal_b (Request const* r) const