]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/symtable.hh
2c19d3e9b0854a7d6d9adc70752c35f825258200
[lilypond.git] / lily / include / symtable.hh
1 /*
2   symtable.hh -- declare Symtable, Symtables
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef SYMTABLE_HH
11 #define SYMTABLE_HH
12
13 #include "dictionary.hh"
14 #include "string.hh"
15 #include "atom.hh"
16
17 struct  Symtable : public Dictionary<Atom> {
18     String id_str;
19     
20     Atom lookup (String) const;
21     void print() const;
22 };
23
24
25 struct Symtables : private Dictionary<Symtable*>
26 {
27   Symtables();
28   Symtables (Symtables const&);
29   ~Symtables();
30
31   Symtable* operator()(String s);
32   void add (String, Symtable*);
33   void print() const;
34
35   String font_;
36   String font_path_;  
37 };
38
39
40 #endif
41