1999-01-25 13:33:08 -05:00
|
|
|
% -----------------------------------------------------------------------------
|
|
|
|
% wxOutputStream
|
|
|
|
% -----------------------------------------------------------------------------
|
|
|
|
\section{\class{wxOutputStream}}\label{wxoutputstream}
|
|
|
|
|
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{wxStreamBase}{wxstreambase}
|
|
|
|
|
1999-02-15 15:41:29 -05:00
|
|
|
\wxheading{Include files}
|
|
|
|
|
|
|
|
<wx/stream.h>
|
|
|
|
|
1999-01-25 13:33:08 -05:00
|
|
|
\wxheading{See also}
|
|
|
|
|
|
|
|
\helpref{wxStreamBuffer}{wxstreambuffer}
|
|
|
|
|
|
|
|
% -----------
|
|
|
|
% ctor & dtor
|
|
|
|
% -----------
|
|
|
|
\membersection{wxOutputStream::wxOutputStream}
|
|
|
|
|
|
|
|
\func{}{wxOutputStream}{\void}
|
|
|
|
|
|
|
|
Creates a dummy wxOutputStream object.
|
|
|
|
|
|
|
|
\func{}{wxOutputStream}{\param{wxStreamBuffer*}{ sbuf}}
|
|
|
|
|
|
|
|
Creates an input stream using the specified stream buffer \it{sbuf}. This
|
|
|
|
stream buffer can point to another stream.
|
|
|
|
|
|
|
|
\membersection{wxOutputStream::\destruct{wxOutputStream}}
|
|
|
|
|
|
|
|
\func{}{\destruct{wxOutputStream}}{\void}
|
|
|
|
|
|
|
|
Destructor.
|
|
|
|
|
1999-02-25 10:07:00 -05:00
|
|
|
\membersection{wxOutputStream::OutputStreamBuffer}
|
1999-01-25 13:33:08 -05:00
|
|
|
|
1999-02-25 10:07:00 -05:00
|
|
|
\func{wxStreamBuffer *}{OutputStreamBuffer}{\void}
|
1999-01-25 13:33:08 -05:00
|
|
|
|
1999-02-25 10:07:00 -05:00
|
|
|
Returns the stream buffer associated with the output stream.
|
1999-01-25 13:33:08 -05:00
|
|
|
|
1999-02-25 10:07:00 -05:00
|
|
|
\membersection{wxOutputStream::LastWrite}
|
1999-01-25 13:33:08 -05:00
|
|
|
|
1999-03-13 15:14:37 -05:00
|
|
|
\constfunc{size\_t}{LastWrite}{\void}
|
1999-01-25 13:33:08 -05:00
|
|
|
|
1999-02-25 10:07:00 -05:00
|
|
|
\membersection{wxOutputStream::PutC}
|
1999-01-25 13:33:08 -05:00
|
|
|
|
1999-02-25 10:07:00 -05:00
|
|
|
\func{void}{PutC}{\param{char}{ c}}
|
1999-01-25 13:33:08 -05:00
|
|
|
|
1999-02-25 10:07:00 -05:00
|
|
|
Puts the specified character in the output queue and increments the
|
|
|
|
stream position.
|
1999-01-25 13:33:08 -05:00
|
|
|
|
|
|
|
\membersection{wxOutputStream::SeekO}
|
|
|
|
|
1999-03-13 15:14:37 -05:00
|
|
|
\func{off\_t}{SeekO}{\param{off\_t}{ pos}, \param{wxSeekMode}{ mode}}
|
1999-01-25 13:33:08 -05:00
|
|
|
|
|
|
|
Changes the stream current position.
|
|
|
|
|
|
|
|
\membersection{wxOutputStream::TellO}
|
|
|
|
|
1999-03-13 15:14:37 -05:00
|
|
|
\constfunc{off\_t}{TellO}{\void}
|
1999-01-25 13:33:08 -05:00
|
|
|
|
|
|
|
Returns the current stream position.
|
|
|
|
|
1999-02-25 10:07:00 -05:00
|
|
|
\membersection{wxOutputStream::Write}
|
1999-01-25 13:33:08 -05:00
|
|
|
|
1999-03-13 15:14:37 -05:00
|
|
|
\func{wxOutputStream\&}{Write}{\param{const void *}{buffer}, \param{size\_t}{ size}}
|
1999-01-25 13:33:08 -05:00
|
|
|
|
1999-02-25 10:07:00 -05:00
|
|
|
Writes the specified amount of bytes using the data of \it{buffer}.
|
|
|
|
\it{WARNING!} The buffer absolutely needs to have at least the specified size.
|
1999-01-25 13:33:08 -05:00
|
|
|
|
1999-02-25 10:07:00 -05:00
|
|
|
This function returns a reference on the current object, so the user can test
|
|
|
|
any states of the stream right away.
|
1999-01-25 13:33:08 -05:00
|
|
|
|
1999-03-13 15:14:37 -05:00
|
|
|
\func{wxOutputStream\&}{Write}{\param{wxInputStream\&}{ stream\_in}}
|
1999-02-25 10:07:00 -05:00
|
|
|
|
|
|
|
Reads data from the specified input stream and stores them
|
|
|
|
in the current stream. The data is read until an error is raised
|
|
|
|
by one of the two streams.
|
1999-01-25 13:33:08 -05:00
|
|
|
|