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