2 context-handle.cc -- implement Context_handle
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2005 Han-Wen Nienhuys <hanwen@cs.uu.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::try_music (Music *m)
53 return outlet_->try_music (m);
57 Context_handle::operator = (Context_handle const &s)
59 set_context (s.outlet_);
63 Context_handle::set_context (Context *trans)
74 Context_handle::get_outlet () const
81 Context_handle::get_count () const
83 return outlet_->iterator_count_;