]> git.donarmstrong.com Git - lilypond.git/blob - lily/header.cc
f2a54aab2d97018ad4bf239e238d6545df69acfc
[lilypond.git] / lily / header.cc
1 /*
2   header.cc -- implement Header
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9 #include "string.hh"
10 #include "assoc-iter.hh"
11 #include "header.hh"
12
13 String
14 Header::TeX_string() const
15 {
16   String s;
17   for (Assoc_iter<String, String> i(*this); i.ok(); i++) 
18     {
19       s += "\\def\\mudela" + i.key() + "{" + i.val() + "}";
20     }
21   return s;
22 }