lilypond-1.0.19
[lilypond.git] / lily / include / symtable.hh
blob2c19d3e9b0854a7d6d9adc70752c35f825258200
1 /*
2 symtable.hh -- declare Symtable, Symtables
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
10 #ifndef SYMTABLE_HH
11 #define SYMTABLE_HH
13 #include "dictionary.hh"
14 #include "string.hh"
15 #include "atom.hh"
17 struct Symtable : public Dictionary<Atom> {
18 String id_str;
20 Atom lookup (String) const;
21 void print() const;
25 struct Symtables : private Dictionary<Symtable*>
27 Symtables();
28 Symtables (Symtables const&);
29 ~Symtables();
31 Symtable* operator()(String s);
32 void add (String, Symtable*);
33 void print() const;
35 String font_;
36 String font_path_;
40 #endif