libzypp
13.10.6
|
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. More... | |
const streambuf_type & | getbuf () const |
Similar to ios::rdbuf. More... | |
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.
|
inline |
Definition at line 207 of file GzStream.h.
|
inlineexplicit |
Definition at line 212 of file GzStream.h.
|
inlinevirtual |
Definition at line 217 of file GzStream.h.
|
inline |
Definition at line 221 of file GzStream.h.
|
inline |
Definition at line 225 of file GzStream.h.
|
inline |
Definition at line 234 of file GzStream.h.
|
inline |
The last error returned retuned fron zlib.
Definition at line 244 of file GzStream.h.
|
inline |
Similar to ios::rdbuf.
But it returns our specific type, not the generic streambuf *.
Definition at line 250 of file GzStream.h.
|
inlineprivate |
Definition at line 258 of file GzStream.h.
|
inlineprivate |
Definition at line 262 of file GzStream.h.
|
private |
Definition at line 255 of file GzStream.h.