Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::iostreams::basic_zlib_compressor< Alloc > Struct Template Reference

#include <zlib.hpp>

Inheritance diagram for boost::iostreams::basic_zlib_compressor< Alloc >:
Collaboration diagram for boost::iostreams::basic_zlib_compressor< Alloc >:

Public Types

typedef base_type::char_type char_type
 
typedef base_type::category category
 
typedef std::basic_string
< char_type, traits_type,
Alloc > 
string_type
 

Public Member Functions

 basic_zlib_compressor (const zlib_params &=zlib::default_compression, int buffer_size=default_device_buffer_size)
 
zlib::ulong crc ()
 
int total_in ()
 
typedef BOOST_IOSTREAMS_CHAR_TRAITS (char_type) traits_type
 
std::streamsize read (Source &src, char_type *s, std::streamsize n)
 
std::streamsize write (Sink &snk, const char_type *s, std::streamsize n)
 
void close (Sink &snk, BOOST_IOS::openmode mode)
 
detail::zlib_compressor_impl
< Alloc > & 
filter ()
 
string_type unconsumed_input () const
 

Member Typedef Documentation

template<typename Alloc = std::allocator<char>>
typedef base_type::category boost::iostreams::basic_zlib_compressor< Alloc >::category
template<typename Alloc = std::allocator<char>>
typedef base_type::char_type boost::iostreams::basic_zlib_compressor< Alloc >::char_type
typedef std::basic_string<char_type, traits_type, Alloc> boost::iostreams::symmetric_filter< detail::zlib_compressor_impl< Alloc > , Alloc >::string_type
inherited

Constructor & Destructor Documentation

template<typename Alloc >
boost::iostreams::basic_zlib_compressor< Alloc >::basic_zlib_compressor ( const zlib_params p = zlib::default_compression,
int  buffer_size = default_device_buffer_size 
)

Member Function Documentation

typedef boost::iostreams::symmetric_filter< detail::zlib_compressor_impl< Alloc > , Alloc >::BOOST_IOSTREAMS_CHAR_TRAITS ( char_type  )
inherited
void boost::iostreams::symmetric_filter< detail::zlib_compressor_impl< Alloc > , Alloc >::close ( Sink &  snk,
BOOST_IOS::openmode  mode 
)
inlineinherited
std::streamsize boost::iostreams::symmetric_filter< detail::zlib_compressor_impl< Alloc > , Alloc >::read ( Source &  src,
char_type s,
std::streamsize  n 
)
inlineinherited
template<typename Alloc = std::allocator<char>>
int boost::iostreams::basic_zlib_compressor< Alloc >::total_in ( )
inline
string_type boost::iostreams::symmetric_filter< detail::zlib_compressor_impl< Alloc > , Alloc >::unconsumed_input ( ) const
inherited
std::streamsize boost::iostreams::symmetric_filter< detail::zlib_compressor_impl< Alloc > , Alloc >::write ( Sink &  snk,
const char_type s,
std::streamsize  n 
)
inlineinherited

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