クラス rcsc::gzifstream

gzipped file input stream class. [詳細]

#include <gzfstream.h>

すべてのメンバ一覧

Public メソッド

 gzifstream ()
 default constructor
 gzifstream (const char *path)
 init stream buffer and open file.
gzfilebufrdbuf () const
 get underlying stream buffer.
bool is_open ()
 check if file is open.
void open (const char *path)
 open gzipped file.
void close ()
 close gzipped file.


説明

gzipped file input stream class.

This class implements ifstream for gzipped files. Seeking and putback is not supported yet.


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

rcsc::gzifstream::gzifstream ( const char *  path  )  [explicit]

init stream buffer and open file.

引数:
path file path to be opened.


関数

gzfilebuf* rcsc::gzifstream::rdbuf (  )  const [inline]

get underlying stream buffer.

戻り値:
pointer to the file buffer

bool rcsc::gzifstream::is_open (  )  [inline]

check if file is open.

戻り値:
true file opened.
false file is not opened.

void rcsc::gzifstream::open ( const char *  path  ) 

open gzipped file.

引数:
path file path.
Stream will be in state good() if file opens successfully; otherwise in state fail(). This differs from the behavior of ifstream, which never sets the state to good() and therefore won't allow you to reuse the stream for a second file unless you manually clear() the state. The choice is a matter of convenience.

void rcsc::gzifstream::close (  ) 

close gzipped file.

if failed,stream will become state fail()


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