libzypp  10.5.0
zypp::gzstream_detail::ZlibError Struct Reference

Helper class to ship zlib errors. More...

#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

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const ZlibError &obj)

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.


Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream &  str,
const ZlibError obj 
) [related]

Stream output.

Definition at line 68 of file GzStream.h.


Member Data Documentation

The zlib error code.

Definition at line 48 of file GzStream.h.

errno, valid if zError is Z_ERRNO

Definition at line 53 of file GzStream.h.


The documentation for this struct was generated from the following files: