1 % -----------------------------------------------------------------------------
3 % -----------------------------------------------------------------------------
4 \section{\class{wxFileOutputStream
}}\label{wxfileoutputstream
}
6 This class represents data written to a file. There are actually
7 two such groups of classes: this one is based on
\helpref{wxFile
}{wxfile
}
8 whereas
\helpref{wxFFileInputStream
}{wxffileinputstream
} is based in
9 the
\helpref{wxFFile
}{wxffile
} class.
11 Note that
\helpref{SeekO()
}{wxoutputstreamseeko
}
12 can seek beyond the end of the stream (file) and will thus not return
13 {\it wxInvalidOffset
} for that.
15 \wxheading{Derived from
}
17 \helpref{wxOutputStream
}{wxoutputstream
}\\
18 \helpref{wxStreamBase
}{wxstreambase
}
20 \wxheading{Include files
}
26 \helpref{wxBase
}{librarieslist
}
30 \helpref{wxBufferedOutputStream
}{wxbufferedoutputstream
},
\helpref{wxFileInputStream
}{wxfileinputstream
},
\helpref{wxFFileInputStream
}{wxffileinputstream
}
35 \latexignore{\rtfignore{\wxheading{Members
}}}
37 \membersection{wxFileOutputStream::wxFileOutputStream
}\label{wxfileoutputstreamctor
}
39 \func{}{wxFileOutputStream
}{\param{const wxString\&
}{ ofileName
}}
41 Creates a new file with
{\it ofilename
} name and initializes the stream in
44 \func{}{wxFileOutputStream
}{\param{wxFile\&
}{ file
}}
46 Initializes a file stream in write-only mode using the file I/O object
{\it file
}.
48 \func{}{wxFileOutputStream
}{\param{int
}{ fd
}}
50 Initializes a file stream in write-only mode using the file descriptor
{\it fd
}.
52 \membersection{wxFileOutputStream::
\destruct{wxFileOutputStream
}}\label{wxfileoutputstreamdtor
}
54 \func{}{\destruct{wxFileOutputStream
}}{\void}
58 \membersection{wxFileOutputStream::IsOk
}\label{wxfileoutputstreamisok
}
60 \constfunc{bool
}{IsOk
}{\void}
62 Returns true if the stream is initialized and ready.