#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 |
Don't use fXstream directly, but ifgzstream or ofgzstream. fXstream is just to avoid almost duplicate code.
Definition at line 195 of file GzStream.h.
| typedef gzstream_detail::ZlibError zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::ZlibError |
Definition at line 199 of file GzStream.h.
| typedef _BStream zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::stream_type |
Definition at line 200 of file GzStream.h.
| typedef _StreamBuf zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::streambuf_type |
Definition at line 201 of file GzStream.h.
| zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::fXstream | ( | ) | [inline] |
Definition at line 203 of file GzStream.h.
References zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::_streambuf.
| zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::fXstream | ( | const char * | file_r | ) | [inline, explicit] |
Definition at line 208 of file GzStream.h.
References zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::_streambuf, and zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::open().
| virtual zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::~fXstream | ( | ) | [inline, virtual] |
Definition at line 213 of file GzStream.h.
| bool zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::is_open | ( | ) | const [inline] |
Definition at line 217 of file GzStream.h.
References zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::_streambuf.
| void zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::open | ( | const char * | file_r | ) | [inline] |
Definition at line 221 of file GzStream.h.
References zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::_streambuf, and zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::defMode().
Referenced by zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::fXstream().
| void zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::close | ( | ) | [inline] |
Definition at line 230 of file GzStream.h.
References zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::_streambuf.
| ZlibError zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::zError | ( | ) | const [inline] |
The last error returned retuned fron zlib.
Definition at line 240 of file GzStream.h.
References zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::_streambuf.
| 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 246 of file GzStream.h.
References zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::_streambuf.
| std::ios_base::openmode zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::defMode | ( | const std::istream & | str_r | ) | [inline, private] |
Definition at line 254 of file GzStream.h.
Referenced by zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::open().
| std::ios_base::openmode zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::defMode | ( | const std::ostream & | str_r | ) | [inline, private] |
Definition at line 258 of file GzStream.h.
streambuf_type zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::_streambuf [private] |
Definition at line 251 of file GzStream.h.
Referenced by zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::close(), zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::fXstream(), zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::getbuf(), zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::is_open(), zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::open(), and zypp::gzstream_detail::fXstream< _BStream, _StreamBuf >::zError().
1.5.3