]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/fileostr.tex
typo fix
[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
a7af285d
VZ
23\wxheading{Library}
24
25\helpref{wxBase}{librarieslist}
26
1106d865
VZ
27\wxheading{See also}
28
29\helpref{wxBufferedOutputStream}{wxbufferedoutputstream}, \helpref{wxFileInputStream}{wxfileinputstream}, \helpref{wxFFileInputStream}{wxffileinputstream}
30
31% ----------
32% Members
33% ----------
34\latexignore{\rtfignore{\wxheading{Members}}}
35
b236c10f 36\membersection{wxFileOutputStream::wxFileOutputStream}\label{wxfileoutputstreamctor}
1106d865
VZ
37
38\func{}{wxFileOutputStream}{\param{const wxString\&}{ ofileName}}
39
40Creates a new file with {\it ofilename} name and initializes the stream in
41write-only mode.
42
43\func{}{wxFileOutputStream}{\param{wxFile\&}{ file}}
44
45Initializes a file stream in write-only mode using the file I/O object {\it file}.
46
47\func{}{wxFileOutputStream}{\param{int}{ fd}}
48
49Initializes a file stream in write-only mode using the file descriptor {\it fd}.
50
b236c10f 51\membersection{wxFileOutputStream::\destruct{wxFileOutputStream}}\label{wxfileoutputstreamdtor}
1106d865
VZ
52
53\func{}{\destruct{wxFileOutputStream}}{\void}
54
55Destructor.
56
b7cacb43 57\membersection{wxFileOutputStream::IsOk}\label{wxfileoutputstreamisok}
1106d865 58
b7cacb43 59\constfunc{bool}{IsOk}{\void}
1106d865 60
cc81d32f 61Returns true if the stream is initialized and ready.
1106d865 62