libzypp  13.10.6
zypp::gzstream_detail::ZlibError Struct Reference

Helper class to ship zlib errors. More...

#include <GzStream.h>

Public Member Functions

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

Public Attributes

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

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

int zypp::gzstream_detail::ZlibError::_zError

The zlib error code.

Definition at line 48 of file GzStream.h.

int zypp::gzstream_detail::ZlibError::_errno

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: