.\" This is a wxWidgets manpage page generated from the XML docs .TH wxFFileOutputStream 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxFFileOutputStream \- Another file output stream class .SH DESCRIPTION This class represents data written to a file. There are actually two such groups of classes: this one is based on wxFFile whereas wxFileInputStream is based in the wxFile class. Note that wxFile and wxFFile differ in one aspect, namely when to report that the end of the file has been reached. This is documented in wxFile::Eof and wxFFile::Eof and the behaviour of the stream classes reflects this difference, i.e. wxFileInputStream will report wxSTREAM_EOF after having read the last byte whereas wxFFileInputStream will report wxSTREAM_EOF after trying to read past the last byte. Related to EOF behavior, note that SeekO() can seek beyond the end of the stream (file) and will thus not return wxInvalidOffset for that. .SH "PARENTS" wxOutputStream .SH "INCLUDE FILES" wx/wfstream.h .SH MEMBERS .SS wxFFileOutputStream (const wxString& filenameconst wxChar * mode = "w+b") Opens the file with the given filename name in the specified mode. .SS wxFFileOutputStream (wxFFile& file) Initializes a file stream in write-only mode using the file I/O object file . .SS wxFFileOutputStream (FILE * fp) Initializes a file stream in write-only mode using the file descriptor fp . .SS ~wxFFileOutputStream () Destructor. .SS bool Ok () Returns true if the stream is initialized and ready. .SH "SEE ALSO" wxOutputStream wxBufferedOutputStream wxFFileInputStream wxFileInputStream .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.