zypp::gzstream_detail::ZlibError Struct Reference

#include <GzStream.h>

List of all members.

Public Member Functions

 ZlibError ()
std::string strerror () const
 Return string describing the zlib error code.

Public Attributes

int _zError
 The zlib error code.
int _errno
 errno, valid if zError is Z_ERRNO


Detailed Description

Helper class to ship zlib errors.

Definition at line 43 of file GzStream.h.


Constructor & Destructor Documentation

zypp::gzstream_detail::ZlibError::ZlibError (  )  [inline]

Definition at line 55 of file GzStream.h.


Member Function Documentation

std::string zypp::gzstream_detail::ZlibError::strerror (  )  const

Return string describing the zlib error code.

Definition at line 54 of file GzStream.cc.

References _errno, and _zError.


Member Data Documentation

int zypp::gzstream_detail::ZlibError::_zError

The zlib error code.

Definition at line 48 of file GzStream.h.

Referenced by zypp::gzstream_detail::fgzstreambuf::close(), zypp::gzstream_detail::fgzstreambuf::setZError(), and strerror().

int zypp::gzstream_detail::ZlibError::_errno

errno, valid if zError is Z_ERRNO

Definition at line 53 of file GzStream.h.

Referenced by zypp::gzstream_detail::fgzstreambuf::close(), and strerror().


The documentation for this struct was generated from the following files:
Generated on Tue Sep 25 19:23:20 2007 for libzypp by  doxygen 1.5.3