Contents Up Previous Next

wxFFileInputStream

このクラスはファイルからのデータ読み込みを表しています。There are actually two such groups of classes: this one is based on wxFFile whereas wxFileInputStream is based in the wxFile class.

Note that SeekI() can seek beyond the end of the stream (file) and will thus not return wxInvalidOffset for that.

継承元

wxInputStream

インクルードファイル

<wx/wfstream.h>

参照

wxBufferedInputStream, wxFFileOutputStream, wxFileOutputStream

Members

wxFFileInputStream::wxFFileInputStream
wxFFileInputStream::~wxFFileInputStream
wxFFileInputStream::IsOk


wxFFileInputStream::wxFFileInputStream

wxFFileInputStream(const wxString& filename, const wxChar * mode = "rb")

Opens the specified file using its filename name using the specified mode.

wxFFileInputStream(wxFFile& file)

Initializes a file stream in read-only mode using the file I/O object file.

wxFFileInputStream(FILE * fp)

Initializes a file stream in read-only mode using the specified file pointer fp.


wxFFileInputStream::~wxFFileInputStream

~wxFFileInputStream()

Destructor.


wxFFileInputStream::IsOk

bool IsOk() const

Returns true if the stream is initialized and ready.