dir_i_ = 0;
}
-/****************/
+/* *************** */
void
Barcheck_req::do_print() const
{
#endif
}
-/****************/
+/* *************** */
void
Request::print() const
elt_l_ = 0;
defined_ch_c_l_m = src.defined_ch_c_l_m;
}
-/****************/
+/* *************** */
Spacing_req::Spacing_req()
{
next = 0;
{
Spacing_req::do_print();
}
-/****************/
+/* *************** */
Melodic_req::Melodic_req()
{
notename = 0;
return notename + octave*7;
}
-/****************/
+/* *************** */
int
Rhythmic_req::compare(const Rhythmic_req &r1, const Rhythmic_req &r2)
{
- return r1.duration() - r2.duration();
+ return sign(r1.duration() - r2.duration());
}
Rhythmic_req::Rhythmic_req(int b, int d)
{
Rhythmic_req::duration() const {
return wholes(balltype,dots)*plet_factor;
}
-/****************/
+/* *************** */
Lyric_req::Lyric_req(Text_def* def_p)
:Text_req(0, def_p)
Rhythmic_req::do_print();
Text_req::do_print();
}
-/****************/
+/* *************** */
void
Note_req::do_print() const
{
Melodic_req::do_print();
Rhythmic_req::do_print();
}
-/****************/
+/* *************** */
void
Rest_req::do_print() const
{
Rhythmic_req::do_print();
}
-/****************/
+/* *************** */
Beam_req::Beam_req()
{
nplet = 0;
}
void Beam_req::do_print()const{}
-/****************/
+/* *************** */
void Slur_req::do_print()const{}
-/****************/
+/* *************** */
int
Span_req:: compare(const Span_req &r1, const Span_req &r2)
{
{
spantype = NOSPAN;
}
-/****************/
+/* *************** */
void
Group_feature_req::do_print() const
{
Terminate_voice_req::do_print()const
{
}
-/****************/
+/* *************** */
Script_req::Script_req(int d , Script_def*def)
{
dir_i_ = d;
}
Script_req::Script_req(Script_req const &s)
+ : Request( s )
{
dir_i_ = s.dir_i_;
scriptdef_p_ = new Script_def(*s.scriptdef_p_);
{
delete scriptdef_p_;
}
-/****************/
+/* *************** */
int
Text_req:: compare(const Text_req &r1, const Text_req &r2)
{
-/****************/
+/* *************** */
Mark_req::Mark_req(String s)
{
mtor<< " `" << mark_str_ << "\'\n";
#endif
}
-/****************/
+/* *************** */
Staff_command_req::Staff_command_req(Input_command * p)
{
com_p_ = p;