]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/text-db.hh
release: 1.0.1
[lilypond.git] / flower / include / text-db.hh
index 3535a84f8f42de1f0b1ffefe45e93017702fe232..6e90e38c47ff3b3fb5186a96ef45a406ad3886bb 100644 (file)
@@ -14,14 +14,14 @@ public:
     Text_record() { } // needed because of other ctor
 
     /// report an error in this line.
-    message(String s) {
+    message (String s) {
        cerr << '\n'<< filename << ": "<< line_no << s << "\n";
     }         
     String operator[](int j) {
        return Array<String>::operator[](j);
     }
 
-    Text_record(Array<String> s, String fn, int j) : Array<String>(s) { 
+    Text_record (Array<String> s, String fn, int j) : Array<String>(s) { 
        filename = fn; line_no = j; 
     }
     Array<String>::size;           
@@ -38,9 +38,9 @@ public:
     /// get a line with records
     Text_record    get_record();
 
-    Text_db(String fn):Data_file(fn) { }
+    Text_db (String fn):Data_file (fn) { }
     Data_file::error;
-    bool eof();
+    bool eof_b ();
 
     /// get next line.
     Text_record operator++(int) {
@@ -48,7 +48,7 @@ public:
     }
     /// are we done yet?
     operator bool() {
-       return !eof();
+       return !eof_b ();
     }
 };