libzypp
10.5.0
|
Common template to define ifgzstream/ofgzstream reading/writing gzip files. More...
#include <GzStream.h>
Public Types | |
typedef gzstream_detail::ZlibError | ZlibError |
typedef _BStream | stream_type |
typedef _StreamBuf | streambuf_type |
Public Member Functions | |
fXstream () | |
fXstream (const char *file_r) | |
virtual | ~fXstream () |
bool | is_open () const |
void | open (const char *file_r) |
void | close () |
ZlibError | zError () const |
The last error returned retuned fron zlib. | |
const streambuf_type & | getbuf () const |
Similar to ios::rdbuf. | |
Private Member Functions | |
std::ios_base::openmode | defMode (const std::istream &str_r) |
std::ios_base::openmode | defMode (const std::ostream &str_r) |
Private Attributes | |
streambuf_type | _streambuf |
Common template to define ifgzstream/ofgzstream reading/writing gzip files.
Don't use fXstream directly, but ifgzstream or ofgzstream. fXstream is just to avoid almost duplicate code.
Definition at line 199 of file GzStream.h.
typedef gzstream_detail::ZlibError zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::ZlibError |
Definition at line 203 of file GzStream.h.
typedef _BStream zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::stream_type |
Definition at line 204 of file GzStream.h.
typedef _StreamBuf zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::streambuf_type |
Definition at line 205 of file GzStream.h.
zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::fXstream | ( | ) | [inline] |
Definition at line 207 of file GzStream.h.
zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::fXstream | ( | const char * | file_r | ) | [inline, explicit] |
Definition at line 212 of file GzStream.h.
virtual zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::~fXstream | ( | ) | [inline, virtual] |
Definition at line 217 of file GzStream.h.
bool zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::is_open | ( | ) | const [inline] |
Definition at line 221 of file GzStream.h.
void zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::open | ( | const char * | file_r | ) | [inline] |
Definition at line 225 of file GzStream.h.
void zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::close | ( | ) | [inline] |
Definition at line 234 of file GzStream.h.
ZlibError zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::zError | ( | ) | const [inline] |
The last error returned retuned fron zlib.
Definition at line 244 of file GzStream.h.
const streambuf_type& zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::getbuf | ( | ) | const [inline] |
Similar to ios::rdbuf.
But it returns our specific type, not the generic streambuf *.
Definition at line 250 of file GzStream.h.
std::ios_base::openmode zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::defMode | ( | const std::istream & | str_r | ) | [inline, private] |
Definition at line 258 of file GzStream.h.
std::ios_base::openmode zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::defMode | ( | const std::ostream & | str_r | ) | [inline, private] |
Definition at line 262 of file GzStream.h.
streambuf_type zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::_streambuf [private] |
Definition at line 255 of file GzStream.h.