-/*
- dimension-cache.cc -- implement Dimension_cache
-
- source file of the GNU LilyPond music typesetter
-
- (c) 1998--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
- */
-
-#include "dimension-cache.hh"
-#include "parray.hh"
-
-Dimension_cache::Dimension_cache (Dimension_cache const &d)
-{
- init();
- callback_l_ = d.callback_l_;
- empty_b_ = d.empty_b_;
- offset_ = d.offset_; //let's hope others will copy the refpoint appropriately.
-}
-
-Dimension_cache::Dimension_cache ()
-{
- init();
-}
-
-void
-Dimension_cache::init()
-{
- callback_l_ =0;
- offset_ =0.0;
- elt_l_ = 0;
- dim_.set_empty ();
- parent_l_ =0;
- valid_b_ = false;
- empty_b_ = false;
-}