9 #include <boost/iostreams/filtering_streambuf.hpp>
10 #include <boost/iostreams/filter/bzip2.hpp>
17 datread (const unsigned int& _blocksize, ostream *_log=NULL);
18 int openFile (const string& filename);
19 enum Format {DAT, EDAT, SDAT};
20 void * getHeader (const string& headerid);
21 int readFullBlock (char *tmpData);
23 string getParaString ();
26 const unsigned int blocksize;
30 boost::iostreams::filtering_istreambuf *inbuffer;
32 int readDataToMem (char *tmpData, long unsigned int dataSize);
35 vector< pair<unsigned long, void *> > headerStore;
36 void deleteHeaderStore ();
37 bool readAllHeaders ();
38 static unsigned long hash(const string& str);