]>
Commit | Line | Data |
---|---|---|
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 | % ----------- |
15 | % ctor & dtor | |
16 | % ----------- | |
17 | \membersection{wxOutputStream::wxOutputStream} | |
18 | ||
19 | \func{}{wxOutputStream}{\void} | |
20 | ||
21 | Creates a dummy wxOutputStream object. | |
22 | ||
e2a6f233 JS |
23 | \membersection{wxOutputStream::\destruct{wxOutputStream}} |
24 | ||
25 | \func{}{\destruct{wxOutputStream}}{\void} | |
26 | ||
27 | Destructor. | |
28 | ||
40b480c3 | 29 | \membersection{wxOutputStream::LastWrite} |
e2a6f233 | 30 | |
294e9a7a | 31 | \constfunc{size\_t}{LastWrite}{\void} |
e2a6f233 | 32 | |
40b480c3 | 33 | \membersection{wxOutputStream::PutC} |
e2a6f233 | 34 | |
40b480c3 | 35 | \func{void}{PutC}{\param{char}{ c}} |
e2a6f233 | 36 | |
40b480c3 JS |
37 | Puts the specified character in the output queue and increments the |
38 | stream position. | |
e2a6f233 | 39 | |
e2a6f233 JS |
40 | \membersection{wxOutputStream::SeekO} |
41 | ||
294e9a7a | 42 | \func{off\_t}{SeekO}{\param{off\_t}{ pos}, \param{wxSeekMode}{ mode}} |
e2a6f233 JS |
43 | |
44 | Changes the stream current position. | |
45 | ||
46 | \membersection{wxOutputStream::TellO} | |
47 | ||
294e9a7a | 48 | \constfunc{off\_t}{TellO}{\void} |
e2a6f233 JS |
49 | |
50 | Returns the current stream position. | |
51 | ||
40b480c3 | 52 | \membersection{wxOutputStream::Write} |
e2a6f233 | 53 | |
294e9a7a | 54 | \func{wxOutputStream\&}{Write}{\param{const void *}{buffer}, \param{size\_t}{ size}} |
e2a6f233 | 55 | |
40b480c3 JS |
56 | Writes the specified amount of bytes using the data of \it{buffer}. |
57 | \it{WARNING!} The buffer absolutely needs to have at least the specified size. | |
e2a6f233 | 58 | |
40b480c3 JS |
59 | This function returns a reference on the current object, so the user can test |
60 | any states of the stream right away. | |
e2a6f233 | 61 | |
294e9a7a | 62 | \func{wxOutputStream\&}{Write}{\param{wxInputStream\&}{ stream\_in}} |
40b480c3 JS |
63 | |
64 | Reads data from the specified input stream and stores them | |
65 | in the current stream. The data is read until an error is raised | |
66 | by one of the two streams. | |
e2a6f233 | 67 |