#include <ostream>
#include <fstream>
#include <memory>
+#include <vector>
#include <boost/iostreams/filtering_streambuf.hpp>
#include <boost/iostreams/filter/bzip2.hpp>
class datread {
public:
+ ~datread ();
datread (const unsigned int& _blocksize, ostream *_log=NULL);
int openFile (const string& filename);
- enum class Format {DAT, EDAT, SDAT};
+ enum Format {DAT, EDAT, SDAT};
void * getHeader (const string& headerid);
int readFullBlock (char *tmpData);
bool fisopen ();
ifstream infile;
Format format;
string parastring;
- unique_ptr<boost::iostreams::filtering_istreambuf> inbuffer;
+ boost::iostreams::filtering_istreambuf *inbuffer;
ostream * const log;
int readDataToMem (char *tmpData, long unsigned int dataSize);
string filename;