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

#include <zlib.hpp>

Inheritance diagram for boost::iostreams::detail::zlib_compressor_impl< Alloc >:
Collaboration diagram for boost::iostreams::detail::zlib_compressor_impl< Alloc >:

Public Types

typedef char char_type
 
typedef zlib_allocator_traits
< Alloc >::type 
allocator_type
 

Public Member Functions

 zlib_compressor_impl (const zlib_params &=zlib::default_compression)
 
 ~zlib_compressor_impl ()
 
bool filter (const char *&src_begin, const char *src_end, char *&dest_begin, char *dest_end, bool flush)
 
void close ()
 
zlib::ulong crc () const
 
int total_in () const
 
int total_out () const
 
 BOOST_STATIC_CONSTANT (bool, custom=(!is_same< std::allocator< char >, Base >::value))
 

Static Public Member Functions

static void * allocate (void *self, zlib::uint items, zlib::uint size)
 
static void deallocate (void *self, void *address)
 

Protected Member Functions

void * stream ()
 
template<typename Alloc >
void init (const zlib_params &p, bool compress, zlib_allocator< Alloc > &zalloc)
 
void before (const char *&src_begin, const char *src_end, char *&dest_begin, char *dest_end)
 
void after (const char *&src_begin, char *&dest_begin, bool compress)
 
int xdeflate (int flush)
 
int xinflate (int flush)
 
void reset (bool compress, bool realloc)
 

Member Typedef Documentation

Constructor & Destructor Documentation

template<typename Alloc >
boost::iostreams::detail::zlib_compressor_impl< Alloc >::~zlib_compressor_impl ( )

Member Function Documentation

void boost::iostreams::detail::zlib_base::after ( const char *&  src_begin,
char *&  dest_begin,
bool  compress 
)
protectedinherited
static void* boost::iostreams::detail::zlib_allocator< Alloc, Base >::allocate ( void *  self,
zlib::uint  items,
zlib::uint  size 
)
staticinherited
void boost::iostreams::detail::zlib_base::before ( const char *&  src_begin,
const char *  src_end,
char *&  dest_begin,
char *  dest_end 
)
protectedinherited
boost::iostreams::detail::zlib_allocator< Alloc, Base >::BOOST_STATIC_CONSTANT ( bool  ,
custom  = (!is_same<std::allocator<char>, Base>::value) 
)
inherited
template<typename Alloc >
void boost::iostreams::detail::zlib_compressor_impl< Alloc >::close ( )
zlib::ulong boost::iostreams::detail::zlib_base::crc ( ) const
inlineinherited
static void boost::iostreams::detail::zlib_allocator< Alloc, Base >::deallocate ( void *  self,
void *  address 
)
staticinherited
template<typename Alloc >
bool boost::iostreams::detail::zlib_compressor_impl< Alloc >::filter ( const char *&  src_begin,
const char *  src_end,
char *&  dest_begin,
char *  dest_end,
bool  flush 
)
template<typename Alloc >
void boost::iostreams::detail::zlib_base::init ( const zlib_params p,
bool  compress,
zlib_allocator< Alloc > &  zalloc 
)
inlineprotectedinherited
void boost::iostreams::detail::zlib_base::reset ( bool  compress,
bool  realloc 
)
protectedinherited
void* boost::iostreams::detail::zlib_base::stream ( )
inlineprotectedinherited
int boost::iostreams::detail::zlib_base::total_in ( ) const
inlineinherited
int boost::iostreams::detail::zlib_base::total_out ( ) const
inlineinherited
int boost::iostreams::detail::zlib_base::xdeflate ( int  flush)
protectedinherited
int boost::iostreams::detail::zlib_base::xinflate ( int  flush)
protectedinherited

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