クラス rcsc::gzfilterstream

gzip filtering stream class. [詳細]

#include <gzfilterstream.h>

すべてのメンバ一覧

Public メソッド

 gzfilterstream (std::streambuf &strmbuf, int level=gzfilterstreambuf::DEFAULT_COMPRESSION, std::size_t buf_size=8192)
 constructor with another stream buffer
 gzfilterstream (std::iostream &strm, int level=gzfilterstreambuf::DEFAULT_COMPRESSION, std::size_t buf_size=8192)
 constructor with another stream
bool setLevel (const int level)
 change complession level


説明

gzip filtering stream class.


コンストラクタとデストラクタ

rcsc::gzfilterstream::gzfilterstream ( std::streambuf &  strmbuf,
int  level = gzfilterstreambuf::DEFAULT_COMPRESSION,
std::size_t  buf_size = 8192 
) [explicit]

constructor with another stream buffer

引数:
strmbuf another stream buffer to be filtered =param level gzip compression level
buf_size allocated size of internal buffer

rcsc::gzfilterstream::gzfilterstream ( std::iostream &  strm,
int  level = gzfilterstreambuf::DEFAULT_COMPRESSION,
std::size_t  buf_size = 8192 
) [explicit]

constructor with another stream

引数:
strm another stream to be filtered
level gzip compression level
buf_size allocated size of internal buffer


関数

bool rcsc::gzfilterstream::setLevel ( const int  level  )  [inline]

change complession level

引数:
level new compression level(0-9)
戻り値:
true if level is validated value, else false.
Compression strategy is set to Z_DEFAULT_STRATEGY automatically.


このクラスの説明は次のファイルから生成されました:
librcscに対してThu May 1 15:41:26 2008に生成されました。  doxygen 1.5.0