2 music.hh -- declare Music
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
14 #include "virtual-methods.hh"
16 #include "minterval.hh"
17 #include "lily-proto.hh"
20 /** In Lily, everything that has a length and a pitch (which can be
21 transposed) is considered "music",
23 Music is hierarchical:
27 class Music:public Input {
29 Music_list * parent_music_l_;
31 /** what kind of iterator needed to walk this music? This doesn't
32 make sense for simple (ie non-list) music, but it does no harm
33 here. Yes, it did harm Music_list: you can forget to copy it.
38 /// what name (or look for this name)
41 virtual MInterval time_int()const;
44 virtual void transpose(Melodic_req const *);
45 virtual void translate(Moment dt);
46 VIRTUAL_COPY_CONS(Music,Music);
47 DECLARE_MY_RUNTIME_TYPEINFO;
50 virtual void do_print() const;