2 context-handle.cc -- implement Context_handle
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
9 #include "context-handle.hh"
12 Context_handle::Context_handle ()
17 Context_handle::Context_handle (Context_handle const &s)
24 Context_handle::~Context_handle ()
32 with GC, this is asynchronous.
37 Context_handle::up (Context *t)
44 Context_handle::down ()
46 outlet_->iterator_count_--;
51 Context_handle::operator = (Context_handle const &s)
53 set_context (s.outlet_);
57 Context_handle::set_context (Context *trans)
68 Context_handle::get_outlet () const
75 Context_handle::get_count () const
77 return outlet_->iterator_count_;