| libzypp 17.36.7
    | 
Common template to define ifgzstream/ofgzstream reading/writing compressed files. More...
#include <zypp-core/base/fxstream.h>
 
  
| Public Types | |
| using | ZlibError = typename TStreamBuf::error_type | 
| using | stream_type = TBStream | 
| using | streambuf_type = TStreamBuf | 
| 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 from zlib. | |
| const streambuf_type & | getbuf () const | 
| Similar to ios::rdbuf. | |
| Private Member Functions | |
| std::ios_base::openmode | defMode (const std::istream &) | 
| std::ios_base::openmode | defMode (const std::ostream &) | 
| Private Attributes | |
| streambuf_type | _streambuf | 
Common template to define ifgzstream/ofgzstream reading/writing compressed files.
Don't use fXstream directly, but ifgzstream or ofgzstream. fXstream is just to avoid almost duplicate code.
Definition at line 26 of file fxstream.h.
| using zypp::detail::fXstream< TBStream, TStreamBuf >::ZlibError = typename TStreamBuf::error_type | 
Definition at line 30 of file fxstream.h.
| using zypp::detail::fXstream< TBStream, TStreamBuf >::stream_type = TBStream | 
Definition at line 31 of file fxstream.h.
| using zypp::detail::fXstream< TBStream, TStreamBuf >::streambuf_type = TStreamBuf | 
Definition at line 32 of file fxstream.h.
| 
 | inline | 
Definition at line 34 of file fxstream.h.
| 
 | inlineexplicit | 
Definition at line 39 of file fxstream.h.
| 
 | inlinevirtual | 
Definition at line 44 of file fxstream.h.
| 
 | inline | 
Definition at line 48 of file fxstream.h.
| 
 | inline | 
Definition at line 52 of file fxstream.h.
| 
 | inline | 
Definition at line 61 of file fxstream.h.
| 
 | inline | 
The last error returned retuned from zlib.
Definition at line 71 of file fxstream.h.
| 
 | inline | 
Similar to ios::rdbuf.
But it returns our specific type, not the generic streambuf *.
Definition at line 77 of file fxstream.h.
| 
 | inlineprivate | 
Definition at line 85 of file fxstream.h.
| 
 | inlineprivate | 
Definition at line 89 of file fxstream.h.
| 
 | private | 
Definition at line 82 of file fxstream.h.