]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/sostream.tex
1f64d55d16125c0b47ec5788e0fea99d49757153
[wxWidgets.git] / docs / latex / wx / sostream.tex
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 %% Name: sostream.tex
3 %% Purpose: wxStringOutputStream docs
4 %% Author: Vadim Zeitlin
5 %% Modified by:
6 %% Created: 2004-09-19
7 %% RCS-ID: $Id$
8 %% Copyright: (c) 2004 Vadim Zeitlin
9 %% License: wxWidgets licence
10 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11
12 \section{\class{wxStringOutputStream}}\label{wxstringoutputstream}
13
14 This class implements an output stream which writes data either to a
15 user-provided or internally allocated string. Note that currently this stream
16 does not support seeking.
17
18 \wxheading{Derived from}
19
20 \helpref{wxOutputStream}{wxoutputstream}
21
22 \wxheading{Include files}
23
24 <wx/sckstrm.h>
25
26
27 \latexignore{\rtfignore{\wxheading{Members}}}
28
29 \membersection{wxStringOutputStream::wxStringOutputStream}
30
31 \func{}{wxStringOutputStream}{\param{wxString}{ *str = \texttt{NULL}}}
32
33 If the provided pointer is non-\texttt{NULL}, data will be written to it.
34 Otherwise, an internal string is used for the data written to this stream, use
35 \helpref{GetString()}{wxstringoutputstreamgetstring} to get access to it.
36
37
38 \membersection{wxStringOutputStream::GetString}\label{wxstringoutputstreamgetstring}
39
40 \constfunc{const wxString\&}{GetString}{\void}
41
42 Returns the string containing all the data written to the stream so far.
43