jigdo API
Last update by Admin on 2010-05-23
ZibstreamGz Class Reference
#include <zstream-gz.hh>
Inheritance diagram for ZibstreamGz:

Public Member Functions | |
ZibstreamGz () | |
~ZibstreamGz () | |
virtual unsigned | totalOut () const |
virtual unsigned | totalIn () const |
virtual unsigned | availOut () const |
virtual unsigned | availIn () const |
virtual byte * | nextOut () const |
virtual byte * | nextIn () const |
virtual void | setTotalOut (unsigned n) |
virtual void | setTotalIn (unsigned n) |
virtual void | setAvailIn (unsigned n) |
virtual void | setNextIn (byte *n) |
virtual void | init () |
Initialize, i.e. | |
virtual void | end () |
Finalize, i.e. | |
virtual void | reset () |
Re-init, i.e. | |
virtual void | inflate (byte **nextOut, unsigned *availOut) |
Sets an internal status flag. | |
virtual bool | streamEnd () const |
Check status flag: At stream end? | |
virtual bool | ok () const |
Check status flag: OK? | |
virtual void | throwError () const |
Depending on internal status flag, throw appropriate Zerror. | |
Classes | |
class | ZibstreamGzError |
Constructor & Destructor Documentation
ZibstreamGz::ZibstreamGz | ( | ) | [inline] |
ZibstreamGz::~ZibstreamGz | ( | ) | [inline] |
References Assert.
Member Function Documentation
virtual unsigned ZibstreamGz::totalOut | ( | ) | const [inline, virtual] |
Implements Zibstream::Impl.
virtual unsigned ZibstreamGz::totalIn | ( | ) | const [inline, virtual] |
Implements Zibstream::Impl.
virtual unsigned ZibstreamGz::availOut | ( | ) | const [inline, virtual] |
Implements Zibstream::Impl.
virtual unsigned ZibstreamGz::availIn | ( | ) | const [inline, virtual] |
Implements Zibstream::Impl.
virtual byte* ZibstreamGz::nextOut | ( | ) | const [inline, virtual] |
Implements Zibstream::Impl.
virtual byte* ZibstreamGz::nextIn | ( | ) | const [inline, virtual] |
Implements Zibstream::Impl.
virtual void ZibstreamGz::setTotalOut | ( | unsigned | n | ) | [inline, virtual] |
Implements Zibstream::Impl.
virtual void ZibstreamGz::setTotalIn | ( | unsigned | n | ) | [inline, virtual] |
Implements Zibstream::Impl.
virtual void ZibstreamGz::setAvailIn | ( | unsigned | n | ) | [inline, virtual] |
Implements Zibstream::Impl.
virtual void ZibstreamGz::setNextIn | ( | byte * | n | ) | [inline, virtual] |
Implements Zibstream::Impl.
virtual void ZibstreamGz::init | ( | ) | [inline, virtual] |
Initialize, i.e.
inflateInit(). {next,avail}{in,out} must be set up before calling this. Does not throw, sets an internal status flag.
Implements Zibstream::Impl.
References ok().
virtual void ZibstreamGz::end | ( | ) | [inline, virtual] |
virtual void ZibstreamGz::reset | ( | ) | [inline, virtual] |
virtual void ZibstreamGz::inflate | ( | byte ** | nextOut, | |
unsigned * | availOut | |||
) | [inline, virtual] |
virtual bool ZibstreamGz::streamEnd | ( | ) | const [inline, virtual] |
virtual bool ZibstreamGz::ok | ( | ) | const [inline, virtual] |
virtual void ZibstreamGz::throwError | ( | ) | const [inline, virtual] |
Depending on internal status flag, throw appropriate Zerror.
Never returns.
Implements Zibstream::Impl.
The documentation for this class was generated from the following file:
Generated on Tue Sep 23 14:27:43 2008 for jigdo by
