3 interpretation-context-handle.cc -- implement Interpretation_context_handle
5 source file of the GNU LilyPond music typesetter
7 (c) 1999--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
11 #include "interpretation-context-handle.hh"
12 #include "translator-group.hh"
15 Interpretation_context_handle::up (Translator_group*t)
18 t->iterator_count_ ++;
22 Interpretation_context_handle::down()
24 report_to_l_->iterator_count_ --;
29 Interpretation_context_handle::try_music (Music *m)
31 return report_to_l_->try_music (m);
34 Interpretation_context_handle::Interpretation_context_handle (Interpretation_context_handle const&s)
42 Interpretation_context_handle::operator = (Interpretation_context_handle const &s)
44 set_translator (s.report_to_l_);
48 Interpretation_context_handle::set_translator (Translator_group*trans)
50 if (report_to_l_ ==trans)
59 Interpretation_context_handle::report_to_l ()const
64 Interpretation_context_handle::Interpretation_context_handle()
69 Interpretation_context_handle::~Interpretation_context_handle ()