]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/sostream.tex
wxRichTextAttr does not exist anymore - document instead wxTextAttr
[wxWidgets.git] / docs / latex / wx / sostream.tex
index 1f64d55d16125c0b47ec5788e0fea99d49757153..b0068051ba6b4c05a8d61603d8a8edf544807c36 100644 (file)
@@ -6,27 +6,32 @@
 %% Created:     2004-09-19
 %% RCS-ID:      $Id$
 %% Copyright:   (c) 2004 Vadim Zeitlin
 %% Created:     2004-09-19
 %% RCS-ID:      $Id$
 %% Copyright:   (c) 2004 Vadim Zeitlin
-%% License:     wxWidgets licence
+%% License:     wxWindows 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
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \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.
+does not support seeking but can tell its current position.
 
 \wxheading{Derived from}
 
 
 \wxheading{Derived from}
 
-\helpref{wxOutputStream}{wxoutputstream}
+\helpref{wxOutputStream}{wxoutputstream}\\
+\helpref{wxStreamBase}{wxstreambase}
 
 \wxheading{Include files}
 
 
 \wxheading{Include files}
 
-<wx/sckstrm.h>
+<wx/sstream.h>
+
+\wxheading{Library}
+
+\helpref{wxBase}{librarieslist}
 
 
 \latexignore{\rtfignore{\wxheading{Members}}}
 
 
 
 \latexignore{\rtfignore{\wxheading{Members}}}
 
-\membersection{wxStringOutputStream::wxStringOutputStream}
+\membersection{wxStringOutputStream::wxStringOutputStream}\label{wxstringoutputstreamctor}
 
 \func{}{wxStringOutputStream}{\param{wxString}{ *str = \texttt{NULL}}}
 
 
 \func{}{wxStringOutputStream}{\param{wxString}{ *str = \texttt{NULL}}}
 
@@ -34,6 +39,12 @@ 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.
 
 Otherwise, an internal string is used for the data written to this stream, use 
 \helpref{GetString()}{wxstringoutputstreamgetstring} to get access to it.
 
+If \arg{str} is used, data written to the stream is appended to the current
+contents of it, i.e. the string is not cleared here. However if it is not
+empty, the positions returned by \helpref{TellO}{wxoutputstreamtello} will be
+offset by the initial string length, i.e. initial stream position will be the
+initial length of the string and not $0$.
+
 
 \membersection{wxStringOutputStream::GetString}\label{wxstringoutputstreamgetstring}
 
 
 \membersection{wxStringOutputStream::GetString}\label{wxstringoutputstreamgetstring}