121fa06ab6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
44 lines
1.3 KiB
TeX
44 lines
1.3 KiB
TeX
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
%% Name: sostream.tex
|
|
%% Purpose: wxStringOutputStream docs
|
|
%% Author: Vadim Zeitlin
|
|
%% Modified by:
|
|
%% Created: 2004-09-19
|
|
%% RCS-ID: $Id$
|
|
%% Copyright: (c) 2004 Vadim Zeitlin
|
|
%% License: wxWidgets licence
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
\section{\class{wxStringOutputStream}}\label{wxstringoutputstream}
|
|
|
|
This class implements an output stream which writes data either to a
|
|
user-provided or internally allocated string. Note that currently this stream
|
|
does not support seeking.
|
|
|
|
\wxheading{Derived from}
|
|
|
|
\helpref{wxOutputStream}{wxoutputstream}
|
|
|
|
\wxheading{Include files}
|
|
|
|
<wx/sckstrm.h>
|
|
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
\membersection{wxStringOutputStream::wxStringOutputStream}
|
|
|
|
\func{}{wxStringOutputStream}{\param{wxString}{ *str = \texttt{NULL}}}
|
|
|
|
If the provided pointer is non-\texttt{NULL}, data will be written to it.
|
|
Otherwise, an internal string is used for the data written to this stream, use
|
|
\helpref{GetString()}{wxstringoutputstreamgetstring} to get access to it.
|
|
|
|
|
|
\membersection{wxStringOutputStream::GetString}\label{wxstringoutputstreamgetstring}
|
|
|
|
\constfunc{const wxString\&}{GetString}{\void}
|
|
|
|
Returns the string containing all the data written to the stream so far.
|
|
|