1999-01-25 13:33:08 -05:00
|
|
|
% -----------------------------------------------------------------------------
|
|
|
|
% wxOutputStream
|
|
|
|
% -----------------------------------------------------------------------------
|
|
|
|
\section{\class{wxOutputStream}}\label{wxoutputstream}
|
|
|
|
|
1999-12-06 11:16:14 -05:00
|
|
|
wxOutputStream is an abstract base class which may not be used directly.
|
|
|
|
|
1999-01-25 13:33:08 -05:00
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{wxStreamBase}{wxstreambase}
|
|
|
|
|
1999-02-15 15:41:29 -05:00
|
|
|
\wxheading{Include files}
|
|
|
|
|
|
|
|
<wx/stream.h>
|
|
|
|
|
2000-03-14 19:21:49 -05:00
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
1999-01-25 13:33:08 -05: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 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-12-06 11:16:14 -05:00
|
|
|
Returns the number of bytes written during the last Write().
|
|
|
|
|
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-12-24 18:40:13 -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
|
|
|
|