This class represents data written to a file. There are actually two such groups of classes: those documented here, and another group called wxFFileInputStream, wxFFileOutputStream and wxFFileStream which are not based on file descriptors (and their wxWindows equivalent wxFile) but the FILE* type (and wxFFile). Apart from the different constructor ("FILE *file" instead if "int fd") their interface is identical.
Derived from
Include files
<wx/wfstream.h>
See also
wxStreamBuffer (REF NOT FOUND), wxFileInputStream
Members
wxFileOutputStream::wxFileOutputStream
wxFileOutputStream::~wxFileOutputStream
wxFileOutputStream::Ok
wxFileOutputStream(const wxString& ofileName)
Creates a new file with ofilename name and initializes the stream in write-only mode.
wxFileOutputStream(wxFile& file)
Initializes a file stream in write-only mode using the file I/O object file.
wxFileOutputStream(int fd)
Initializes a file stream in write-only mode using the file descriptor fd.
~wxFileOutputStream()
Destructor.
bool Ok() const
Returns TRUE if the stream is initialized and ready.