lilypond-0.1.57
[lilypond.git] / lily / notename-table.cc
blob049f0cdfcb1ecbb495e67b71c8190a45d51dc8ef
1 /*
2 notename-table.cc -- implement Notename_table
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
9 #include "notename-table.hh"
10 #include "pointer.tcc"
11 #include "musical-request.hh"
13 template class P<Melodic_req>;
15 void
16 Notename_table::add (String s, Melodic_req *m_p)
18 elem (s).set_p (m_p);
21 Melodic_req*
22 Notename_table::get_l (String s)
24 if (! elt_b (s))
25 return 0;
26 return elem (s);