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:
@@ -491,6 +491,8 @@ libraries, and to provide enhanced functionality.
|
||||
\twocolitem{\helpref{wxFileOutputStream}{wxfileoutputstream}}{File output stream class}
|
||||
\twocolitem{\helpref{wxFFileInputStream}{wxffileinputstream}}{Another file input stream class}
|
||||
\twocolitem{\helpref{wxFFileOutputStream}{wxffileoutputstream}}{Another file output stream class}
|
||||
\twocolitem{\helpref{wxStringInputStream}{wxstringinputstream}}{String input stream class}
|
||||
\twocolitem{\helpref{wxStringOutputStream}{wxstringoutputstream}}{String output stream class}
|
||||
\twocolitem{\helpref{wxZlibInputStream}{wxzlibinputstream}}{Zlib (compression) input stream class}
|
||||
\twocolitem{\helpref{wxZlibOutputStream}{wxzliboutputstream}}{Zlib (compression) output stream class}
|
||||
\twocolitem{\helpref{wxZipInputStream}{wxzipinputstream}}{Input stream for reading from ZIP archives}
|
||||
|
@@ -296,7 +296,9 @@
|
||||
\input strtotxt.tex
|
||||
\input wxstring.tex
|
||||
\input strcldat.tex
|
||||
\input sistream.tex
|
||||
\input strlist.tex
|
||||
\input sostream.tex
|
||||
\input tokenizr.tex
|
||||
\input sysclevt.tex
|
||||
\input sysopt.tex
|
||||
|
35
docs/latex/wx/sistream.tex
Normal file
35
docs/latex/wx/sistream.tex
Normal file
@@ -0,0 +1,35 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% Name: sistream.tex
|
||||
%% Purpose: wxStringInputStream docs
|
||||
%% Author: Vadim Zeitlin
|
||||
%% Modified by:
|
||||
%% Created: 2004-09-19
|
||||
%% RCS-ID: $Id$
|
||||
%% Copyright: (c) 2004 Vadim Zeitlin
|
||||
%% License: wxWidgets licence
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
\section{\class{wxStringInputStream}}\label{wxstringinputstream}
|
||||
|
||||
This class implements an input stream which reads data from a string. It
|
||||
supports seeking.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxInputStream}{wxinputstream}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/sckstrm.h>
|
||||
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
\membersection{wxStringInputStream::wxStringInputStream}
|
||||
|
||||
\func{}{wxStringInputStream}{\param{const wxString\&}{ s}}
|
||||
|
||||
Creates a new read-only stream using the specified string. Note that the string
|
||||
is copied by the stream so if the original string is modified after using this
|
||||
constructor, changes to it are not reflected when reading from stream.
|
||||
|
43
docs/latex/wx/sostream.tex
Normal file
43
docs/latex/wx/sostream.tex
Normal 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.
|
||||
|
Reference in New Issue
Block a user