1 #ifndef MSP_DATAFILE_INPUT_H_
2 #define MSP_DATAFILE_INPUT_H_
4 #include <msp/core/noncopyable.h>
5 #include <msp/io/base.h>
10 class Input: private NonCopyable
13 IO::Base *in = nullptr;
14 IO::Base *compressed = nullptr;
22 void set_decompress();
25 unsigned get_line_number() const { return line; }
26 explicit operator bool() const;
29 } // namespace DataFile