added wxStringStream classes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-09-19 21:26:45 +00:00
parent 95561814d9
commit 121fa06ab6
8 changed files with 291 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 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.