2 interpretation-context-handle.cc -- implement Interpretation_context_handle
4 source file of the GNU LilyPond music typesetter
6 (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #include "interpretation-context-handle.hh"
11 #include "translator-group.hh"
14 Interpretation_context_handle::up (Translator_group*t)
17 t->iterator_count_ ++;
21 Interpretation_context_handle::down()
23 report_to_l_->iterator_count_ --;
28 Interpretation_context_handle::try_music (Music *m)
30 return report_to_l_->try_music (m);
33 Interpretation_context_handle::Interpretation_context_handle (Interpretation_context_handle const&s)
41 Interpretation_context_handle::operator = (Interpretation_context_handle const &s)
43 set_translator (s.report_to_l_);
47 Interpretation_context_handle::set_translator (Translator_group*trans)
49 if (report_to_l_ ==trans)
58 Interpretation_context_handle::report_to_l ()const
63 Interpretation_context_handle::Interpretation_context_handle()
68 Interpretation_context_handle::~Interpretation_context_handle ()