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

#include <bzip2.hpp>

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

Public Types

typedef char char_type
 

Public Member Functions

 bzip2_compressor_impl (const bzip2_params &)
 
bool filter (const char *&src_begin, const char *src_end, char *&dest_begin, char *dest_end, bool flush)
 
void close ()
 

Protected Member Functions

bzip2_paramsparams ()
 
bool & ready ()
 
template<typename Alloc >
void init (bool compress, bzip2_allocator< Alloc > &alloc)
 
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)
 
int check_end (const char *src_begin, const char *dest_begin)
 
int compress (int action)
 
int decompress ()
 
void end (bool compress)
 

Private Types

typedef bzip2_allocator_traits
< Alloc >::type 
allocator_type
 

Private Member Functions

 BOOST_STATIC_CONSTANT (bool, custom=(!is_same< std::allocator< char >, Base >::value))
 

Static Private Member Functions

static void * allocate (void *self, int items, int size)
 
static void deallocate (void *self, void *address)
 

Member Typedef Documentation

Constructor & Destructor Documentation

template<typename Alloc >
boost::iostreams::detail::bzip2_compressor_impl< Alloc >::bzip2_compressor_impl ( const bzip2_params p)

Member Function Documentation

void boost::iostreams::detail::bzip2_base::after ( const char *&  src_begin,
char *&  dest_begin 
)
protectedinherited
void boost::iostreams::detail::bzip2_base::before ( const char *&  src_begin,
const char *  src_end,
char *&  dest_begin,
char *  dest_end 
)
protectedinherited
int boost::iostreams::detail::bzip2_base::check_end ( const char *  src_begin,
const char *  dest_begin 
)
protectedinherited
template<typename Alloc >
void boost::iostreams::detail::bzip2_compressor_impl< Alloc >::close ( )

References boost::end.

int boost::iostreams::detail::bzip2_base::compress ( int  action)
protectedinherited
int boost::iostreams::detail::bzip2_base::decompress ( )
protectedinherited
void boost::iostreams::detail::bzip2_base::end ( bool  compress)
protectedinherited
template<typename Alloc >
void boost::iostreams::detail::bzip2_base::init ( bool  compress,
bzip2_allocator< Alloc > &  alloc 
)
inlineprotectedinherited

References BOOST_MSVC.

bzip2_params& boost::iostreams::detail::bzip2_base::params ( )
inlineprotectedinherited
bool& boost::iostreams::detail::bzip2_base::ready ( )
inlineprotectedinherited

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