- /// indirection to the column it is in
- PCol * pcol_l_;
-
- /* *************** */
- virtual Item *item() { return this; }
- Item();
- void do_print()const;
- Real hpos_f() const;
- NAME_MEMBERS(Item);
- /**
-
- @return the line where this is in;
-
- PRE
- Breaking calc has to be finished
- */
- Line_of_score * line_l() const;
+ Item (SCM);
+ Item (Item const &);
+
+ static Item *unsmob (SCM g) {
+ return dynamic_cast <Item *> (Grob::unsmob (g));
+ }
+ static bool is_smob (SCM g) {
+ return Grob::is_smob (g) && unsmob (g);
+ }
+
+ virtual Grob *clone () const;
+
+ static bool is_non_musical (Grob *);
+ static bool break_visible (Grob *);
+
+ bool is_broken () const;
+ virtual bool pure_is_visible (int start, int end) const;
+
+ Direction break_status_dir () const;
+
+ Item *find_prebroken_piece (Direction) const;
+ Grob *find_broken_piece (System *) const;
+ virtual System *get_system () const;
+ virtual Paper_column *get_column () const;
+ virtual void handle_prebroken_dependencies ();
+ virtual Interval_t<int> spanned_rank_interval () const;
+ virtual Interval pure_height (Grob *ref, int start, int end);
+ virtual void cache_pure_height (Interval height);
+ DECLARE_GROB_INTERFACE ();
+protected:
+ virtual void discretionary_processing ();
+ void copy_breakable_items ();
+ virtual void derived_mark () const;
+
+ bool cached_pure_height_valid_;
+ Interval cached_pure_height_;