1999-01-25 18:33:08 +00:00
|
|
|
% -----------------------------------------------------------------------------
|
|
|
|
% wxOutputStream
|
|
|
|
% -----------------------------------------------------------------------------
|
|
|
|
\section{\class{wxOutputStream}}\label{wxoutputstream}
|
|
|
|
|
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{wxStreamBase}{wxstreambase}
|
|
|
|
|
1999-02-15 20:41:29 +00:00
|
|
|
\wxheading{Include files}
|
|
|
|
|
|
|
|
<wx/stream.h>
|
|
|
|
|
1999-01-25 18:33:08 +00:00
|
|
|
% -----------
|
|
|
|
% ctor & dtor
|
|
|
|
% -----------
|
|
|
|
\membersection{wxOutputStream::wxOutputStream}
|
|
|
|
|
|
|
|
\func{}{wxOutputStream}{\void}
|
|
|
|
|
|
|
|
Creates a dummy wxOutputStream object.
|
|
|
|
|
|
|
|
\membersection{wxOutputStream::\destruct{wxOutputStream}}
|
|
|
|
|
|
|
|
\func{}{\destruct{wxOutputStream}}{\void}
|
|
|
|
|
|
|
|
Destructor.
|
|
|
|
|
1999-02-25 15:07:00 +00:00
|
|
|
\membersection{wxOutputStream::LastWrite}
|
1999-01-25 18:33:08 +00:00
|
|
|
|
1999-03-13 20:14:37 +00:00
|
|
|
\constfunc{size\_t}{LastWrite}{\void}
|
1999-01-25 18:33:08 +00:00
|
|
|
|
1999-02-25 15:07:00 +00:00
|
|
|
\membersection{wxOutputStream::PutC}
|
1999-01-25 18:33:08 +00:00
|
|
|
|
1999-02-25 15:07:00 +00:00
|
|
|
\func{void}{PutC}{\param{char}{ c}}
|
1999-01-25 18:33:08 +00:00
|
|
|
|
1999-02-25 15:07:00 +00:00
|
|
|
Puts the specified character in the output queue and increments the
|
|
|
|
stream position.
|
1999-01-25 18:33:08 +00:00
|
|
|
|
|
|
|
\membersection{wxOutputStream::SeekO}
|
|
|
|
|
1999-03-13 20:14:37 +00:00
|
|
|
\func{off\_t}{SeekO}{\param{off\_t}{ pos}, \param{wxSeekMode}{ mode}}
|
1999-01-25 18:33:08 +00:00
|
|
|
|
|
|
|
Changes the stream current position.
|
|
|
|
|
|
|
|
\membersection{wxOutputStream::TellO}
|
|
|
|
|
1999-03-13 20:14:37 +00:00
|
|
|
\constfunc{off\_t}{TellO}{\void}
|
1999-01-25 18:33:08 +00:00
|
|
|
|
|
|
|
Returns the current stream position.
|
|
|
|
|
1999-02-25 15:07:00 +00:00
|
|
|
\membersection{wxOutputStream::Write}
|
1999-01-25 18:33:08 +00:00
|
|
|
|
1999-03-13 20:14:37 +00:00
|
|
|
\func{wxOutputStream\&}{Write}{\param{const void *}{buffer}, \param{size\_t}{ size}}
|
1999-01-25 18:33:08 +00:00
|
|
|
|
1999-02-25 15:07:00 +00: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 18:33:08 +00:00
|
|
|
|
1999-02-25 15:07:00 +00: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 18:33:08 +00:00
|
|
|
|
1999-03-13 20:14:37 +00:00
|
|
|
\func{wxOutputStream\&}{Write}{\param{wxInputStream\&}{ stream\_in}}
|
1999-02-25 15:07:00 +00: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 18:33:08 +00:00
|
|
|
|