2 object-key-dumper.hh -- declare Object_key_dumper
4 source file of the GNU LilyPond music typesetter
6 (c) 2004--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
9 #ifndef OBJECT_KEY_DUMPER_HH
10 #define OBJECT_KEY_DUMPER_HH
15 #include "object-key.hh"
17 typedef map<Object_key const *, Object_key const *, Object_key_less> Key_to_key_map;
18 typedef map<Object_key const *, int> Pointer_to_int_map;
19 typedef map<int, Object_key const *> Int_to_key_map;
21 class Object_key_dumper
24 Key_to_key_map serialized_keys_;
25 Pointer_to_int_map key_serial_numbers_;
29 SCM serialize_key (Object_key const *);
30 DECLARE_SMOBS (Object_key_dumper,);
33 SCM get_file_contents () const;
34 SCM dump_key (Object_key const *);
37 DECLARE_UNSMOB (Object_key_dumper, key_dumper);
39 #endif /* OBJECT_KEY_DUMPER_HH */