2 interpretation-context-handle.cc -- implement Interpretation_context_handle
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
9 #include "interpretation-context-handle.hh"
12 Interpretation_context_handle::Interpretation_context_handle ()
17 Interpretation_context_handle::Interpretation_context_handle (Interpretation_context_handle const &s)
24 Interpretation_context_handle::~Interpretation_context_handle ()
32 with GC, this is asynchronous.
37 Interpretation_context_handle::up (Context *t)
44 Interpretation_context_handle::down ()
46 outlet_->iterator_count_--;
51 Interpretation_context_handle::try_music (Music *m)
53 return outlet_->try_music (m);
57 Interpretation_context_handle::operator = (Interpretation_context_handle const &s)
59 set_context (s.outlet_);
63 Interpretation_context_handle::set_context (Context *trans)
74 Interpretation_context_handle::get_outlet () const
81 Interpretation_context_handle::get_count () const
83 return outlet_->iterator_count_;