Contents Up Previous Next

wxFFileOutputStream

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

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

継承元

wxOutputStream

インクルードファイル

<wx/wfstream.h>

参照

wxBufferedOutputStream, wxFFileInputStream, wxFileInputStream

Members

wxFFileOutputStream::wxFFileOutputStream
wxFFileOutputStream::~wxFFileOutputStream
wxFFileOutputStream::IsOk


wxFFileOutputStream::wxFFileOutputStream

wxFFileOutputStream(const wxString& filename, const wxChar * mode="w+b")

Opens the file with the given filename name in the specified mode.

wxFFileOutputStream(wxFFile& file)

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

wxFFileOutputStream(FILE * fp)

Initializes a file stream in write-only mode using the file descriptor fp.


wxFFileOutputStream::~wxFFileOutputStream

~wxFFileOutputStream()

Destructor.


wxFFileOutputStream::IsOk

bool IsOk() const

Returns true if the stream is initialized and ready.