2 interpretation-context-handle.cc -- implement Interpretation_context_handle
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2004 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)
25 Interpretation_context_handle::~Interpretation_context_handle ()
33 with GC, this is asynchronous.
38 Interpretation_context_handle::up (Context *t)
41 t->iterator_count_ ++;
45 Interpretation_context_handle::down ()
47 outlet_->iterator_count_ --;
52 Interpretation_context_handle::quit ()
56 outlet_->iterator_count_ --;
62 Interpretation_context_handle::try_music (Music *m)
64 return outlet_->try_music (m);
68 Interpretation_context_handle::operator = (Interpretation_context_handle const &s)
70 set_translator (s.outlet_);
74 Interpretation_context_handle::set_translator (Context *trans)
85 Interpretation_context_handle::get_outlet () const
92 Interpretation_context_handle::get_count () const
94 return outlet_->iterator_count_ ;