]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/input.h
Some more code reformatting
[libs/datafile.git] / source / input.h
index eeb18407ec2848927cdef93507180987c71d4cbe..e5748662d5a899b9f5b4b6201c69687c084da401 100644 (file)
@@ -14,16 +14,18 @@ namespace DataFile {
 
 class Input
 {   
+private:
+       IO::Base ∈
+       unsigned line;
+       int next;
+
 public:
        Input(IO::Base &); 
+
        int get();
        int peek();
        unsigned get_line_number() const { return line; }
-       operator bool() const { return !in.eof(); }
-private:
-       IO::Base ∈
-       unsigned line;
-       int next;
+       operator bool() const;
 };  
 
 } // namespace DataFile