]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/music.cc
release: 0.1.13
[lilypond.git] / lily / music.cc
index 4949e2737b4557e13504b63c05546ba3e8e47574..053275cc1f4dfda7b0421d5a91b1def08c9c6c1e 100644 (file)
 MInterval
 Music::time_int() const
 {
-    return MInterval(0,0);
+  return MInterval (0,0);
 }
 
 void
-Music::print()const
+Music::print() const
 {
 #ifndef NPRINT
-    mtor << name() << "{";
-    if  (type_str_!="" || id_str_!="")
-       mtor << "`" <<type_str_ << " = " << id_str_<<"\'";
-    do_print();
-    mtor << "}\n";
+  if (! check_debug)
+       return ;
+  DOUT << name() << "{";
+  if  (translator_type_str_)
+       DOUT << translator_type_str_ << " = " << translator_id_str_;
+  do_print();
+  DOUT << "}\n";
 #endif
 }
 
 void
-Music::transpose(Melodic_req const*)
+Music::transpose (Melodic_req const*)
 {
-    
+  
 }
 
 void
-Music::translate(Moment )
+Music::translate (Moment)
 {
 }
 
 void
-Music::do_print()const
+Music::do_print() const
 {
 }
 
@@ -50,10 +52,10 @@ IMPLEMENT_IS_TYPE_B(Music);
 
 
 
-    
+  
 Music::Music()
 {
-    parent_music_l_ =0;
+  parent_music_l_ =0;
 }
 
 IMPLEMENT_IS_TYPE_B1(Change_reg,Music)