4 #include "zipios++/zipios-config.h" 7 #include "zipios++/meta-iostreams.h" 55 explicit ZipFile(
const string &name,
int s_off = 0,
int e_off = 0
63 virtual void close() ;
67 MatchPath matchpath = MATCH ) ;
72 bool init( istream &_zipfile ) ;
73 bool readCentralDirectory( istream &_zipfile ) ;
74 bool readEndOfCentralDirectory( istream &_zipfile ) ;
75 bool confirmLocalHeaders( istream &_zipfile ) ;
76 void setError(
string error_str ) ;
ZipFile()
Default constructor.
virtual FileCollection * clone() const
Create a heap allocated clone of the object this method is called for.
Header file that defines FileCollection.
The end of the Central directory structure.
SimpleSmartPointer is a simple reference counting smart pointer template.
Header file containing classes and functions for reading the central directory and local header field...
VirtualSeeker is a simple class that keeps track of a set of specified 'virtual' file endings that ma...
virtual istream * getInputStream(const ConstEntryPointer &entry)
virtual void close()
Closes the FileCollection.
Header file that defines VirtualSeeker.
static ZipFile openEmbeddedZipFile(const string &name)
virtual ~ZipFile()
Destructor.