]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/outptstr.tex
documented wxCONFIG_USE_RELATIVE_PATH
[wxWidgets.git] / docs / latex / wx / outptstr.tex
CommitLineData
e2a6f233
JS
1% -----------------------------------------------------------------------------
2% wxOutputStream
3% -----------------------------------------------------------------------------
4\section{\class{wxOutputStream}}\label{wxoutputstream}
5
6\wxheading{Derived from}
7
8\helpref{wxStreamBase}{wxstreambase}
9
954b8ae6
JS
10\wxheading{Include files}
11
12<wx/stream.h>
13
e2a6f233
JS
14\wxheading{See also}
15
16\helpref{wxStreamBuffer}{wxstreambuffer}
17
18% -----------
19% ctor & dtor
20% -----------
21\membersection{wxOutputStream::wxOutputStream}
22
23\func{}{wxOutputStream}{\void}
24
25Creates a dummy wxOutputStream object.
26
27\func{}{wxOutputStream}{\param{wxStreamBuffer*}{ sbuf}}
28
29Creates an input stream using the specified stream buffer \it{sbuf}. This
30stream buffer can point to another stream.
31
32\membersection{wxOutputStream::\destruct{wxOutputStream}}
33
34\func{}{\destruct{wxOutputStream}}{\void}
35
36Destructor.
37
40b480c3 38\membersection{wxOutputStream::OutputStreamBuffer}
e2a6f233 39
40b480c3 40\func{wxStreamBuffer *}{OutputStreamBuffer}{\void}
e2a6f233 41
40b480c3 42Returns the stream buffer associated with the output stream.
e2a6f233 43
40b480c3 44\membersection{wxOutputStream::LastWrite}
e2a6f233 45
294e9a7a 46\constfunc{size\_t}{LastWrite}{\void}
e2a6f233 47
40b480c3 48\membersection{wxOutputStream::PutC}
e2a6f233 49
40b480c3 50\func{void}{PutC}{\param{char}{ c}}
e2a6f233 51
40b480c3
JS
52Puts the specified character in the output queue and increments the
53stream position.
e2a6f233 54
e2a6f233
JS
55\membersection{wxOutputStream::SeekO}
56
294e9a7a 57\func{off\_t}{SeekO}{\param{off\_t}{ pos}, \param{wxSeekMode}{ mode}}
e2a6f233
JS
58
59Changes the stream current position.
60
61\membersection{wxOutputStream::TellO}
62
294e9a7a 63\constfunc{off\_t}{TellO}{\void}
e2a6f233
JS
64
65Returns the current stream position.
66
40b480c3 67\membersection{wxOutputStream::Write}
e2a6f233 68
294e9a7a 69\func{wxOutputStream\&}{Write}{\param{const void *}{buffer}, \param{size\_t}{ size}}
e2a6f233 70
40b480c3
JS
71Writes the specified amount of bytes using the data of \it{buffer}.
72\it{WARNING!} The buffer absolutely needs to have at least the specified size.
e2a6f233 73
40b480c3
JS
74This function returns a reference on the current object, so the user can test
75any states of the stream right away.
e2a6f233 76
294e9a7a 77\func{wxOutputStream\&}{Write}{\param{wxInputStream\&}{ stream\_in}}
40b480c3
JS
78
79Reads data from the specified input stream and stores them
80in the current stream. The data is read until an error is raised
81by one of the two streams.
e2a6f233 82