.TH "zipios::ZipInputStream" 3 "Tue Mar 24 2020" "Zipios++" \" -*- nroff -*-
.ad l
.nh
.SH NAME
zipios::ZipInputStream
.SH SYNOPSIS
.br
.PP
.PP
\fC#include <zipinputstream\&.h>\fP
.PP
Inherits istream\&.
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBZipInputStream\fP (istream &is, streampos pos=0)"
.br
.RI "\fBZipInputStream\fP constructor\&. "
.ti -1c
.RI "\fBZipInputStream\fP (const string &filename, streampos pos=0)"
.br
.RI "\fBZipInputStream\fP constructor\&. "
.ti -1c
.RI "int \fBavailable\fP ()"
.br
.ti -1c
.RI "void \fBcloseEntry\fP ()"
.br
.RI "Closes the current entry, and positions the stream read pointer at the beginning of the next entry (if there is one)\&. "
.ti -1c
.RI "void \fBclose\fP ()"
.br
.RI "Closes the istream\&. "
.ti -1c
.RI "\fBConstEntryPointer\fP \fBgetNextEntry\fP ()"
.br
.ti -1c
.RI "virtual \fB~ZipInputStream\fP ()"
.br
.RI "Destructor\&. "
.in -1c
.SH "Detailed Description"
.PP 
\fBZipInputStream\fP is an istream that gets it's input from a zip file\&. The interface approximates the interface of the Java \fBZipInputStream\fP\&. 
.PP
Definition at line 20 of file zipinputstream\&.h\&.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "zipios::ZipInputStream::ZipInputStream (istream & is, streampos pos = \fC0\fP)\fC [explicit]\fP"

.PP
\fBZipInputStream\fP constructor\&. 
.PP
\fBParameters\fP
.RS 4
\fIis\fP istream from which the compressed zip archive can be read\&. 
.br
\fIpos\fP position to reposition the istream to before reading\&. 
.br
 
.RE
.PP

.SS "zipios::ZipInputStream::ZipInputStream (const string & filename, streampos pos = \fC0\fP)\fC [explicit]\fP"

.PP
\fBZipInputStream\fP constructor\&. @filename filename of a valid zip file\&. 
.PP
\fBParameters\fP
.RS 4
\fIpos\fP position to reposition the istream to before reading\&. 
.br
 
.RE
.PP

.SS "zipios::ZipInputStream::~ZipInputStream ()\fC [virtual]\fP"

.PP
Destructor\&. 
.PP
Definition at line 53 of file zipinputstream\&.cpp\&.
.SH "Member Function Documentation"
.PP 
.SS "void zipios::ZipInputStream::close ()"

.PP
Closes the istream\&. 
.PP
Definition at line 41 of file zipinputstream\&.cpp\&.
.SS "void zipios::ZipInputStream::closeEntry ()"

.PP
Closes the current entry, and positions the stream read pointer at the beginning of the next entry (if there is one)\&. 
.PP
Definition at line 37 of file zipinputstream\&.cpp\&.
.SS "\fBConstEntryPointer\fP zipios::ZipInputStream::getNextEntry ()"
Opens the next entry in the zip archive and returns a const pointer to a \fBFileEntry\fP object for the entry\&. For new instances this method has to be called once before you can read from the first entry\&. 
.PP
\fBReturns\fP
.RS 4
a const \fBFileEntry\fP * containing information about the (now) current entry\&. 
.RE
.PP

.PP
Definition at line 48 of file zipinputstream\&.cpp\&.

.SH "Author"
.PP 
Generated automatically by Doxygen for Zipios++ from the source code\&.
