Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Attributes | List of all members
zlib_stream::basic_zip_istreambase< Elem, Tr, ElemA, ByteT, ByteAT > Class Template Reference

Base class for unzip istreams. More...

#include <zipstream.hpp>

Inheritance diagram for zlib_stream::basic_zip_istreambase< Elem, Tr, ElemA, ByteT, ByteAT >:
Inheritance graph
[legend]

Public Types

typedef std::basic_istream
< Elem, Tr > & 
istream_reference
 
typedef basic_unzip_streambuf
< Elem, Tr, ElemA, ByteT,
ByteAT > 
unzip_streambuf_type
 

Public Member Functions

 basic_zip_istreambase (istream_reference ostream_, size_t window_size_, size_t read_buffer_size_, size_t input_buffer_size_)
 
unzip_streambuf_typerdbuf ()
 returns the underlying unzip istream object More...
 
int get_zerr () const
 returns the zlib error state More...
 
uLong get_crc () const
 returns the uncompressed data crc More...
 
uLong get_out_size () const
 returns the uncompressed data size More...
 
uLong get_in_size () const
 returns the compressed data size More...
 

Private Attributes

unzip_streambuf_type m_buf
 

Detailed Description

template<typename Elem, typename Tr = std::char_traits< Elem >, typename ElemA = std::allocator< Elem >, typename ByteT = unsigned char, typename ByteAT = std::allocator< ByteT >>
class zlib_stream::basic_zip_istreambase< Elem, Tr, ElemA, ByteT, ByteAT >

Base class for unzip istreams.

Note
Contains a basic_unzip_streambuf

Member Typedef Documentation

template<typename Elem , typename Tr = std::char_traits< Elem >, typename ElemA = std::allocator< Elem >, typename ByteT = unsigned char, typename ByteAT = std::allocator< ByteT >>
typedef std::basic_istream< Elem, Tr >& zlib_stream::basic_zip_istreambase< Elem, Tr, ElemA, ByteT, ByteAT >::istream_reference
template<typename Elem , typename Tr = std::char_traits< Elem >, typename ElemA = std::allocator< Elem >, typename ByteT = unsigned char, typename ByteAT = std::allocator< ByteT >>
typedef basic_unzip_streambuf< Elem, Tr, ElemA, ByteT, ByteAT > zlib_stream::basic_zip_istreambase< Elem, Tr, ElemA, ByteT, ByteAT >::unzip_streambuf_type

Constructor & Destructor Documentation

template<typename Elem , typename Tr = std::char_traits< Elem >, typename ElemA = std::allocator< Elem >, typename ByteT = unsigned char, typename ByteAT = std::allocator< ByteT >>
zlib_stream::basic_zip_istreambase< Elem, Tr, ElemA, ByteT, ByteAT >::basic_zip_istreambase ( istream_reference  ostream_,
size_t  window_size_,
size_t  read_buffer_size_,
size_t  input_buffer_size_ 
)
inline

Member Function Documentation

template<typename Elem , typename Tr = std::char_traits< Elem >, typename ElemA = std::allocator< Elem >, typename ByteT = unsigned char, typename ByteAT = std::allocator< ByteT >>
uLong zlib_stream::basic_zip_istreambase< Elem, Tr, ElemA, ByteT, ByteAT >::get_crc ( ) const
inline
template<typename Elem , typename Tr = std::char_traits< Elem >, typename ElemA = std::allocator< Elem >, typename ByteT = unsigned char, typename ByteAT = std::allocator< ByteT >>
uLong zlib_stream::basic_zip_istreambase< Elem, Tr, ElemA, ByteT, ByteAT >::get_in_size ( ) const
inline
template<typename Elem , typename Tr = std::char_traits< Elem >, typename ElemA = std::allocator< Elem >, typename ByteT = unsigned char, typename ByteAT = std::allocator< ByteT >>
uLong zlib_stream::basic_zip_istreambase< Elem, Tr, ElemA, ByteT, ByteAT >::get_out_size ( ) const
inline
template<typename Elem , typename Tr = std::char_traits< Elem >, typename ElemA = std::allocator< Elem >, typename ByteT = unsigned char, typename ByteAT = std::allocator< ByteT >>
int zlib_stream::basic_zip_istreambase< Elem, Tr, ElemA, ByteT, ByteAT >::get_zerr ( ) const
inline
template<typename Elem , typename Tr = std::char_traits< Elem >, typename ElemA = std::allocator< Elem >, typename ByteT = unsigned char, typename ByteAT = std::allocator< ByteT >>
unzip_streambuf_type* zlib_stream::basic_zip_istreambase< Elem, Tr, ElemA, ByteT, ByteAT >::rdbuf ( )
inline

Member Data Documentation

template<typename Elem , typename Tr = std::char_traits< Elem >, typename ElemA = std::allocator< Elem >, typename ByteT = unsigned char, typename ByteAT = std::allocator< ByteT >>
unzip_streambuf_type zlib_stream::basic_zip_istreambase< Elem, Tr, ElemA, ByteT, ByteAT >::m_buf
private

The documentation for this class was generated from the following file: