]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/fileostr.tex
[ 1507795 ] Small doc patch.
[wxWidgets.git] / docs / latex / wx / fileostr.tex
CommitLineData
1106d865
VZ
1% -----------------------------------------------------------------------------
2% wxFileOutputStream
3% -----------------------------------------------------------------------------
4\section{\class{wxFileOutputStream}}\label{wxfileoutputstream}
5
6This class represents data written to a file. There are actually
7two such groups of classes: this one is based on \helpref{wxFile}{wxfile}
8whereas \helpref{wxFFileInputStream}{wxffileinputstream} is based in
9the \helpref{wxFFile}{wxffile} class.
10
bf085665 11Note that \helpref{SeekO()}{wxoutputstreamseeko}
a84e46f2
VS
12can seek beyond the end of the stream (file) and will thus not return
13{\it wxInvalidOffset} for that.
1106d865
VZ
14
15\wxheading{Derived from}
16
17\helpref{wxOutputStream}{wxoutputstream}
18
19\wxheading{Include files}
20
21<wx/wfstream.h>
22
23\wxheading{See also}
24
25\helpref{wxBufferedOutputStream}{wxbufferedoutputstream}, \helpref{wxFileInputStream}{wxfileinputstream}, \helpref{wxFFileInputStream}{wxffileinputstream}
26
27% ----------
28% Members
29% ----------
30\latexignore{\rtfignore{\wxheading{Members}}}
31
b236c10f 32\membersection{wxFileOutputStream::wxFileOutputStream}\label{wxfileoutputstreamctor}
1106d865
VZ
33
34\func{}{wxFileOutputStream}{\param{const wxString\&}{ ofileName}}
35
36Creates a new file with {\it ofilename} name and initializes the stream in
37write-only mode.
38
39\func{}{wxFileOutputStream}{\param{wxFile\&}{ file}}
40
41Initializes a file stream in write-only mode using the file I/O object {\it file}.
42
43\func{}{wxFileOutputStream}{\param{int}{ fd}}
44
45Initializes a file stream in write-only mode using the file descriptor {\it fd}.
46
b236c10f 47\membersection{wxFileOutputStream::\destruct{wxFileOutputStream}}\label{wxfileoutputstreamdtor}
1106d865
VZ
48
49\func{}{\destruct{wxFileOutputStream}}{\void}
50
51Destructor.
52
b236c10f 53\membersection{wxFileOutputStream::Ok}\label{wxfileoutputstreamok}
1106d865
VZ
54
55\constfunc{bool}{Ok}{\void}
56
cc81d32f 57Returns true if the stream is initialized and ready.
1106d865 58