source file of the GNU LilyPond music typesetter
- (c) 1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include "command-request.hh"
#include "debug.hh"
#include "musical-request.hh"
-void
-Command_script_req::do_print() const
-{}
-Command_script_req::Command_script_req(){}
-Command_script_req::~Command_script_req(){}
-
-
-
-
-
-
void
Cadenza_req::do_print() const
{
return b && type_str_ == b->type_str_;
}
-
-
-
-
-
void
Bar_req::do_print() const
{
+#ifndef NPRINT
DOUT << type_str_;
-}
-
-void
-Bracket_req::do_print () const
-{
- Span_req::do_print ();
+#endif
}
Bar_req::Bar_req (String s)
Partial_measure_req::Partial_measure_req (Moment m)
{
- duration_ =m;
+ length_mom_ =m;
}
bool
{
Partial_measure_req *p = dynamic_cast <Partial_measure_req *> (r);
- return p&& p->duration_ == duration_;
+ return p&& p->length_mom_ == length_mom_;
}
-
-
-
-void
-Timing_req::do_print() const{}
-
-
-
-
-void
-Command_req::do_print() const{}
-
-
-
-void
-Barcheck_req::do_print() const{}
-
bool
Barcheck_req::do_equal_b (Request*r) const
{
return b;
}
-
-
-
void
Clef_change_req::do_print() const
{
clef_str_ = s;
}
-
-
-
-
-
void
Partial_measure_req::do_print() const
{
- DOUT << duration_;
+ DOUT << length_mom_;
}
{
Tempo_req *t = dynamic_cast <Tempo_req *> (r);
- return t&& t->dur_.length()== dur_.length () && metronome_i_ == t->metronome_i_;
+ return t&& t->dur_.length_mom ()== dur_.length_mom () && metronome_i_ == t->metronome_i_;
}
-
-
-
-
-
void
Measure_grouping_req::do_print() const
{
penalty_i_ = 0;
}
-void
-Break_req::do_print () const
-{
-}
-
-
-
Mark_req::Mark_req (String s)
{
str_ = s;