41 #include <nidas/Config.h>
45 #ifndef NIDAS_UTIL_FILESETBZIP2_H
46 #define NIDAS_UTIL_FILESETBZIP2_H
48 #define _FILE_OFFSET_BITS 64
54 namespace nidas {
namespace util {
110 class Bzip2FileSet:
public FileSet {
121 Bzip2FileSet(
const Bzip2FileSet& x);
126 Bzip2FileSet& operator=(
const Bzip2FileSet& x);
131 Bzip2FileSet* clone()
const;
140 void closeFile() throw(IOException);
147 void openFileForWriting(const std::
string& filename) throw(IOException);
152 void openNextFile() throw(IOException);
158 size_t read(
void* buf,
size_t count) throw(IOException);
163 size_t write(const
void* buf,
size_t count) throw(IOException);
165 size_t write(const struct iovec* iov,
int iovcnt) throw(IOException);
177 bool _openedForWriting;