zlib_stream Namespace Reference

Namespaces

namespace  detail

Classes

class  basic_unzip_streambuf
 A stream decorator that takes compressed input and unzips it to a istream. More...
class  basic_zip_istream
class  basic_zip_ostream
class  basic_zip_streambuf
 A stream decorator that takes raw input and zips it to a ostream. More...

Typedefs

typedef basic_zip_istream< char > zip_istream
 A typedef for basic_zip_istream<char>
typedef basic_zip_ostream< char > zip_ostream
 A typedef for basic_zip_ostream<char>

Enumerations

enum  EStrategy {
  StrategyFiltered = 1,
  StrategyHuffmanOnly = 2,
  DefaultStrategy = 0
}
 

Compression strategy, see zlib doc.

More...

Functions

bool isGZip (std::istream &is)
 A typedef for basic_zip_ostream<wchar_t>

Variables

const size_t zstream_default_buffer_size = 4096

Typedef Documentation

A typedef for basic_zip_istream<char>

A typedef for basic_zip_ostream<char>


Enumeration Type Documentation

Compression strategy, see zlib doc.

Enumerator:
StrategyFiltered 
StrategyHuffmanOnly 
DefaultStrategy 

Function Documentation

bool zlib_stream::isGZip ( std::istream &  is  )  [inline]

A typedef for basic_zip_ostream<wchar_t>

A typedef for basic_zip_istream<wchart> Helper function to check whether stream is compressed or not.

References zlib_stream::detail::gz_magic.


Variable Documentation

default gzip buffer size, change this to suite your needs


Generated on Sun Mar 7 03:17:50 2010 for GDCM by doxygen 1.6.3
SourceForge.net Logo