38#ifndef __IoIntfZipReader_h
39#define __IoIntfZipReader_h
41#include <ZipFileIterator.h>
79 IoIntf_SeekAndRead seekAndReadFp;
89 const char* pathName);
91#define IoIntfZipReader_destructor(o) IoIntfZipReader_close(o);
92#define IoIntfZipReader_getECode(o) (o)->lastECode
95inline IoIntfZipReader::IoIntfZipReader(
IoIntf* io,
const char* pathName) {
96 IoIntfZipReader_constructor(
this, io, pathName); }
98 IoIntfZipReader_destructor(
this); }
100 return IoIntfZipReader_close(
this); }
103 return IoIntfZipReader_getECode(
this); }
The IoIntfZipReader, which implements the abstract ZipReader interface, makes it possible for a ZipIo...
Definition: IoIntfZipReader.h:52
int getECode()
Returns the last error code, if any.
Definition: IoIntfZipReader.h:102
~IoIntfZipReader()
The destructor closes the file connection.
Definition: IoIntfZipReader.h:97
int close()
Close the file connection.
Definition: IoIntfZipReader.h:99
The IoIntf class specifies an abstract file API, implementations include ZipIo, DiskIo,...
Definition: IoIntf.h:377
Abstract interface class for reading a ZipFile.
Definition: ZipFileIterator.h:72