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_gzip_compressor< Alloc > Class Template Reference

#include <gzip.hpp>

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

Classes

struct  category
 

Public Types

typedef char char_type
 

Public Member Functions

 basic_gzip_compressor (const gzip_params &=gzip::default_compression, int buffer_size=default_device_buffer_size)
 
template<typename Source >
std::streamsize read (Source &src, char_type *s, std::streamsize n)
 
template<typename Sink >
std::streamsize write (Sink &snk, const char_type *s, std::streamsize n)
 
template<typename Sink >
void close (Sink &snk, BOOST_IOS::openmode m)
 

Private Types

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

Private Member Functions

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)
 
detail::zlib_compressor_impl
< Alloc > & 
filter ()
 
string_type unconsumed_input () const
 

Member Typedef Documentation

template<typename Alloc = std::allocator<char>>
typedef char boost::iostreams::basic_gzip_compressor< Alloc >::char_type

Constructor & Destructor Documentation

Member Function Documentation

template<typename Alloc = std::allocator<char>>
template<typename Sink >
void boost::iostreams::basic_gzip_compressor< Alloc >::close ( Sink &  snk,
BOOST_IOS::openmode  m 
)
inline
template<typename Alloc = std::allocator<char>>
template<typename Source >
std::streamsize boost::iostreams::basic_gzip_compressor< Alloc >::read ( Source &  src,
char_type s,
std::streamsize  n 
)
inline

References boost::asio::read().

template<typename Alloc = std::allocator<char>>
template<typename Sink >
std::streamsize boost::iostreams::basic_gzip_compressor< Alloc >::write ( Sink &  snk,
const char_type s,
std::streamsize  n 
)
inline

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