Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

zipios_zipinputstreambuf(3) [debian man page]

zipios::ZipInputStreambuf(3)				     Library Functions Manual				      zipios::ZipInputStreambuf(3)

NAME
zipios::ZipInputStreambuf - ZipInputStreambuf is a zip input streambuf filter. SYNOPSIS
#include <zipinputstreambuf.h> Inherits zipios::InflateInputStreambuf. Public Member Functions ZipInputStreambuf (streambuf *inbuf, int s_pos=-1, bool del_inbuf=false) ZipInputStreambuf constructor. void closeEntry () Closes the current entry, and positions the stream read pointer at the beginning of the next entry (if there is one). void close () Closes the streambuf. ConstEntryPointer getNextEntry () Opens the next entry in the zip archive and returns a const pointer to a FileEntry object for the entry. virtual ~ZipInputStreambuf () Destructor. Protected Member Functions virtual int underflow () Detailed Description ZipInputStreambuf is a zip input streambuf filter. Definition at line 18 of file zipinputstreambuf.h. Constructor &; Destructor Documentation zipios::ZipInputStreambuf::ZipInputStreambuf (streambuf *inbuf, ints_pos = -1, booldel_inbuf = false) [explicit] ZipInputStreambuf constructor. Parameters: inbuf the streambuf to use for input. s_pos a position to reset the inbuf to before reading. Specify -1 to read from the current position. del_inbuf if true is specified inbuf will be deleted, when the ZipInputStreambuf is destructed. Definition at line 18 of file zipinputstreambuf.cpp. zipios::ZipInputStreambuf::~ZipInputStreambuf () [virtual] Destructor. Definition at line 82 of file zipinputstreambuf.cpp. Member Function Documentation void zipios::ZipInputStreambuf::close () Closes the streambuf. Definition at line 42 of file zipinputstreambuf.cpp. void zipios::ZipInputStreambuf::closeEntry () Closes the current entry, and positions the stream read pointer at the beginning of the next entry (if there is one). Definition at line 29 of file zipinputstreambuf.cpp. ConstEntryPointer zipios::ZipInputStreambuf::getNextEntry () Opens the next entry in the zip archive and returns a const pointer to a FileEntry object for the entry. Returns: a const FileEntry * containing information about the (now) current entry. Definition at line 45 of file zipinputstreambuf.cpp. Author Generated automatically by Doxygen for Zipios++ from the source code. Zipios++ Mon Oct 10 2011 zipios::ZipInputStreambuf(3)

Check Out this Related Man Page

zipios::ZipOutputStreambuf(3)				     Library Functions Manual				     zipios::ZipOutputStreambuf(3)

NAME
zipios::ZipOutputStreambuf - ZipOutputStreambuf is a zip output streambuf filter. SYNOPSIS
#include <zipoutputstreambuf.h> Inherits zipios::DeflateOutputStreambuf. Public Types enum CompressionLevels { NO_COMPRESSION = Z_NO_COMPRESSION, BEST_SPEED = Z_BEST_SPEED, BEST_COMPRESSION = Z_BEST_COMPRESSION, DEFAULT_COMPRESSION = Z_DEFAULT_COMPRESSION } Public Member Functions ZipOutputStreambuf (streambuf *outbuf, bool del_outbuf=false) ZipOutputStreambuf constructor. void closeEntry () Closes the current entry, and positions the stream read pointer at the beginning of the next entry (if there is one). void close () Calls finish. void finish () Closes the current entry (if one is open), then writes the Zip Central Directory Structure closing the ZipOutputStream. void putNextEntry (const ZipCDirEntry &entry) Begins writing the next entry. void setComment (const string &comment) Sets the global comment for the Zip archive. void setLevel (int level) Sets the compression level to be used for subsequent entries. void setMethod (StorageMethod method) Sets the compression method to be used. virtual ~ZipOutputStreambuf () Destructor. Protected Member Functions virtual int overflow (int c=EOF) virtual int sync () void setEntryClosedState () void updateEntryHeaderInfo () Static Protected Member Functions static void writeCentralDirectory (const vector< ZipCDirEntry > &entries, EndOfCentralDirectory eocd, ostream &os) Detailed Description ZipOutputStreambuf is a zip output streambuf filter. Definition at line 17 of file zipoutputstreambuf.h. Constructor &; Destructor Documentation zipios::ZipOutputStreambuf::ZipOutputStreambuf (streambuf *outbuf, booldel_outbuf = false) [explicit] ZipOutputStreambuf constructor. A newly constructed ZipOutputStreambuf is not ready to accept data, putNextEntry() must be invoked first. Parameters: outbuf the streambuf to use for input. del_outbuf if true is specified outbuf will be deleted, when the ZipOutputStreambuf is destructed. Definition at line 20 of file zipoutputstreambuf.cpp. zipios::ZipOutputStreambuf::~ZipOutputStreambuf () [virtual] Destructor. Definition at line 56 of file zipoutputstreambuf.cpp. Member Function Documentation void zipios::ZipOutputStreambuf::close () Calls finish. Definition at line 41 of file zipoutputstreambuf.cpp. void zipios::ZipOutputStreambuf::closeEntry () Closes the current entry, and positions the stream read pointer at the beginning of the next entry (if there is one). Definition at line 30 of file zipoutputstreambuf.cpp. void zipios::ZipOutputStreambuf::finish () Closes the current entry (if one is open), then writes the Zip Central Directory Structure closing the ZipOutputStream. The output stream that the zip archive is being written to is not closed. Definition at line 46 of file zipoutputstreambuf.cpp. void zipios::ZipOutputStreambuf::putNextEntry (const ZipCDirEntry &entry) Begins writing the next entry. Opens the next entry in the zip archive and returns a const pointer to a FileEntry object for the entry. Returns: a const FileEntry * containing information about the (now) current entry. Definition at line 61 of file zipoutputstreambuf.cpp. void zipios::ZipOutputStreambuf::setComment (const string &comment) Sets the global comment for the Zip archive. Definition at line 83 of file zipoutputstreambuf.cpp. void zipios::ZipOutputStreambuf::setLevel (intlevel) Sets the compression level to be used for subsequent entries. Definition at line 88 of file zipoutputstreambuf.cpp. void zipios::ZipOutputStreambuf::setMethod (StorageMethodmethod) Sets the compression method to be used. only STORED and DEFLATED are supported. Definition at line 93 of file zipoutputstreambuf.cpp. Author Generated automatically by Doxygen for Zipios++ from the source code. Zipios++ Mon Oct 10 2011 zipios::ZipOutputStreambuf(3)
Man Page