]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/input.h
Add support for compressed datafiles
[libs/datafile.git] / source / input.h
index 9fa4b853a668640736fb4a37f97bf1c71ef23fd3..a9c96f48abce9cdf9e533e640f3913c8849e0d7f 100644 (file)
@@ -9,13 +9,16 @@ namespace DataFile {
 class Input
 {   
 private:
-       IO::Base ∈
+       IO::Base *in;
+       IO::Base *compressed;
        unsigned line;
        int next;
 
 public:
        Input(IO::Base &); 
+       ~Input();
 
+       void set_decompress();
        int get();
        int peek();
        unsigned get_line_number() const { return line; }