/*
- rhythmic-head.hh -- declare
+ rhythmic-head.hh -- declare Rhythmic_head
source file of the GNU LilyPond music typesetter
- (c) 1997--1998 Han-Wen Nienhuys <hanwen@stack.nl>
+ (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include "item.hh"
+/*
+ Properties
+
+ duration-log -- 2-log of the notehead duration
+
+ dot -- reference to Dots object.
+
+*/
class Rhythmic_head : public Item
{
public:
- DECLARE_MY_RUNTIME_TYPEINFO;
-
- int balltype_i_;
- int dots_i_;
- Dots * dots_l_;
-
- void add (Dots *);
- Rhythmic_head ();
-protected:
- virtual void do_add_processing ();
- virtual void do_print () const;
- virtual void do_substitute_dependent (Score_elem*,Score_elem*);
+
+ /*
+ Typically not used, since Rhythmic_head is not breakable.
+ */
+ VIRTUAL_COPY_CONS(Rhythmic_head);
+ int balltype_i () const;
+
+ void add_dots (Dots *);
+ Stem * stem_l () const;
+ Dots * dots_l () const;
+ int dot_count () const;
+
+ SCM member_after_line_breaking ();
+ static SCM after_line_breaking (SCM);
+ Rhythmic_head (SCM s);
};
#endif // RHYTHMIC_HEAD_HH