logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

zipios::ZipInputStreambuf - ZipInputStreambuf is a zip input streambuf filter.

Author

       Generated automatically by Doxygen for Zipios++ from the source code.

Zipios++                                         Tue Mar 24 2020                    zipios::ZipInputStreambuf(3)

Constructor & Destructor Documentation

zipios::ZipInputStreambuf::ZipInputStreambuf(streambuf*inbuf,ints_pos=-1,booldel_inbuf=false)[explicit]ZipInputStreambuf constructor.

       Parametersinbuf 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.

Detailed Description

ZipInputStreambuf is a zip input streambuf filter.

       Definition at line 18 of file zipinputstreambuf.h.

Member Function Documentation

voidzipios::ZipInputStreambuf::close()
       Closes the streambuf.

       Definition at line 42 of file zipinputstreambuf.cpp.

   voidzipios::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.

   ConstEntryPointerzipios::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.

Name

       zipios::ZipInputStreambuf - ZipInputStreambuf is a zip input streambuf filter.

Synopsis

       #include <zipinputstreambuf.h>

       Inherits zipios::InflateInputStreambuf.

   PublicMemberFunctionsZipInputStreambuf (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.
       ConstEntryPointergetNextEntry ()
           Opens the next entry in the zip archive and returns a const pointer to a FileEntry object for the
           entry.
       virtual ~ZipInputStreambuf ()
           Destructor.

   ProtectedMemberFunctions
       virtual int underflow ()

   AdditionalInheritedMembers

See Also