#include "debug.hh"
#include "musical-request.hh"
-void
-Cadenza_req::do_print () const
-{
-#ifndef NPRINT
- DOUT << (int)on_b_;
-#endif
-}
-
-bool
-Cadenza_req::do_equal_b (Request const *r) const
-{
- Cadenza_req const*cad = dynamic_cast <Cadenza_req const *> (r);
- return cad && cad->on_b_ == on_b_;
-}
-
-Cadenza_req::Cadenza_req (bool b)
-{
- on_b_ =b;
-}
-
-
bool
Bar_req::do_equal_b (Request const *r) const
Bar_req::do_print () const
{
#ifndef NPRINT
- DOUT << type_str_;
+ DEBUG_OUT << type_str_;
#endif
}
type_str_ = s;
}
-Partial_measure_req::Partial_measure_req (Moment m)
-{
- length_mom_ =m;
-}
-bool
-Partial_measure_req::do_equal_b (Request const* r) const
-{
- Partial_measure_req const*p = dynamic_cast <Partial_measure_req const*> (r);
-
- return p&& p->length_mom_ == length_mom_;
-}
bool
Barcheck_req::do_equal_b (Request const *r) const
Clef_change_req::do_print () const
{
#ifndef NPRINT
- DOUT << clef_str_ ;
+ DEBUG_OUT << clef_str_ ;
#endif
}
clef_str_ = s;
}
-void
-Partial_measure_req::do_print () const
-{
- DOUT << length_mom_;
-}
void
Time_signature_change_req::do_print () const
{
#ifndef NPRINT
- DOUT << beats_i_ << "/" << one_beat_i_;
+ DEBUG_OUT << beats_i_ << "/" << one_beat_i_;
#endif
}
void
Tempo_req::do_print () const
{
- DOUT << dur_.str () << " = " << metronome_i_;
+ DEBUG_OUT << dur_.str () << " = " << metronome_i_;
}
Break_req::Break_req ()
{
- penalty_i_ = 0;
}
Mark_req::Mark_req (String s)
void
Mark_req::do_print () const
{
- DOUT << str_;
+ DEBUG_OUT << str_;
}
void
Key_change_req::transpose (Musical_pitch p)