X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9fc0fe377b42853e23cb771a2d9a742b9c91a996..794005c0acc80bf21ca0ed2e1f42f1d78947957b:/docs/latex/wx/stream.tex diff --git a/docs/latex/wx/stream.tex b/docs/latex/wx/stream.tex index 56b43ae61a..20cf2e72d2 100644 --- a/docs/latex/wx/stream.tex +++ b/docs/latex/wx/stream.tex @@ -4,6 +4,10 @@ None +\wxheading{Include files} + + + \wxheading{See also} \helpref{wxStreamBase}{wxstreambase} @@ -43,12 +47,13 @@ to a stream. \it{mode} specifies the type of the buffer (read, write, read\_writ work only on memory buffers but it is still compatible with the rest of the wxStream classes. You can write, read to this special stream and it will grow (if it is allowed by the user) its internal buffer. Briefly, it has all -functionnalities of a ``normal'' stream. +functionality of a ``normal'' stream. \wxheading{Warning} The "read\_write" mode may not work: it isn't completely finished. You can create "memory" streams by this way: + \begin{verbatim} wxStreamBuffer *sb = new wxStreamBuffer(wxStreamBuffer::read) wxInputStream *input = new wxInputStream(sb); @@ -57,13 +62,10 @@ You can create "memory" streams by this way: // input is now a read-only memory stream. \end{verbatim} -But you should care about destroying the stream buffer \it{YOURSELF}. - -\wxheading{See also} -\helpref{wxStreamBuffer:SetBufferIO}{wxstreambuffersetbufferio} +But you should take care when destroying the stream buffer yourself. -\func{}{wxStreamBuffer}{\param{const wxStreamBuffer &}{buffer}} +\func{}{wxStreamBuffer}{\param{const wxStreamBuffer\&}{buffer}} Constructor. It initializes the stream buffer with the data of the specified stream buffer. The new stream buffer is nearly exactly the same as the @@ -78,6 +80,10 @@ segmentation violation if the parent is destroyed and the children continues operating. It is advised to use this feature only in very local area of the program. +\wxheading{See also} + +\helpref{wxStreamBuffer:SetBufferIO}{wxstreambuffersetbufferio} + \membersection{wxStreamBuffer::\destruct{wxStreamBuffer}} \func{}{wxStreamBuffer}{\destruct{wxStreamBuffer}}