クラス rcsc::gzofilterstream

gzip filtering output stream class. [詳細]

#include <gzfilterstream.h>

すべてのメンバ一覧

Public メソッド

 gzofilterstream (std::streambuf &dest, int level=gzfilterstreambuf::DEFAULT_COMPRESSION, std::size_t buf_size=8192)
 constructor with another stream buffer
 gzofilterstream (std::ostream &dest, 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 output stream class.


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

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

constructor with another stream buffer

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

rcsc::gzofilterstream::gzofilterstream ( std::ostream &  dest,
int  level = gzfilterstreambuf::DEFAULT_COMPRESSION,
std::size_t  buf_size = 8192 
) [explicit]

constructor with another stream

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


関数

bool rcsc::gzofilterstream::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