41#include "ZipFileIterator.h"
95 void operator delete(
void* d) {
if(d)
::baFree(d); }
96 void *
operator new(size_t,
void *place) {
return place; }
97 void operator delete(
void*,
void *) { }
145 BaBool passwordRequired;
152BA_API
void ZipIo_constructor(
157BA_API
void ZipIo_destructor(
ZipIo* o);
158#define ZipIo_getECode(o) (o)->ecode
162 ZipIo_constructor(
this,reader,size,alloc);
165 ZipIo_destructor(
this);
168 return ZipIo_getECode(
this);
void * baMalloc(size_t size)
Returns pointer to uninitialized newly-allocated space for an object of size "size",...
void baFree(void *p)
Deallocates space to which it points.
ZipIo ZipIo
The ZipIo class makes it possible for the web-server to work with resources in a ZIP file as if the Z...
ZipErr getECode()
Returns an error code if the ZipIo constructor failed.
Definition: ZipIo.h:167
~ZipIo()
ZipIo destructor.
Definition: ZipIo.h:164
Memory allocation and deallocation Interface class.
Definition: AllocatorIntf.h:83
The IoIntf class specifies an abstract file API, implementations include ZipIo, DiskIo,...
Definition: IoIntf.h:377
A ZipContainer is a buffer used by a ZipIo when reading data from a ZipReader.
Definition: ZipFileIterator.h:379
The ZipIo class makes it possible for the web-server to work with resources in a ZIP file as if the Z...
Definition: ZipIo.h:92
Abstract interface class for reading a ZipFile.
Definition: ZipFileIterator.h:72