]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/notename-table.hh
release: 1.3.13
[lilypond.git] / lily / include / notename-table.hh
1 /*
2   notename-table.hh -- declare Notename_table
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef NOTENAME_TABLE_HH
11 #define NOTENAME_TABLE_HH
12
13 #include "string.hh"
14 #include "lily-proto.hh"
15
16 class Notename_table {
17   Dictionary<Musical_pitch> *pitch_dict_;
18 public:
19   Notename_table ();
20   ~Notename_table ();
21   Notename_table (Notename_table const&);
22   Musical_pitch get_pitch(String s) const;
23   void add_note_name (String, Musical_pitch const *p);
24   String get_name (Musical_pitch) const;
25   bool elem_b (String )const;
26 };
27   
28 #endif // NOTENAME_TABLE_HH