added wxMemoryInputStream(wxMemoryOutputStream&) ctor (patch 1170635)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -15,6 +15,7 @@ All:
|
||||
- Added WXK_SPECIAL keycodes for special hardware buttons.
|
||||
- Fixed bug with wxFile::Seek(-1, wxFromCurrent).
|
||||
- Added wxString/C array constructors to wxArrayString.
|
||||
- Added wxMemoryInputStream(wxMemoryOutputStream&) constructor (Stas Sergeev)
|
||||
|
||||
All (GUI):
|
||||
|
||||
|
@@ -28,12 +28,24 @@ Initializes a new read-only memory stream which will use the specified buffer
|
||||
{\it data} of length {\it len}. The stream does not take ownership of the
|
||||
buffer, i.e. that it will not delete in its destructor.
|
||||
|
||||
\func{}{wxMemoryInputStream}{\param{const wxMemoryOutputStream&}{ stream}}
|
||||
|
||||
Creates a new read-only memory stream, initilalizing it with the
|
||||
data from the given output stream \arg{stream}.
|
||||
|
||||
\membersection{wxMemoryInputStream::\destruct{wxMemoryInputStream}}\label{wxmemoryinputstreamdtor}
|
||||
|
||||
\func{}{\destruct{wxMemoryInputStream}}{\void}
|
||||
|
||||
Destructor.
|
||||
|
||||
\membersection{wxMemoryInputStream::GetInputStreamBuffer}\label{wxmemoryinputstreamgetistrmbuf}
|
||||
|
||||
\constfunc{wxStreamBuffer *}{GetInputStreamBuffer}{\void}
|
||||
|
||||
Returns the pointer to the stream object used as an internal buffer
|
||||
for that stream.
|
||||
|
||||
% -----------------------------------------------------------------------------
|
||||
% wxMemoryOutputStream
|
||||
% -----------------------------------------------------------------------------
|
||||
@@ -87,3 +99,9 @@ the buffer.
|
||||
CopyTo returns the number of bytes copied to the buffer. Generally it is either
|
||||
len or the size of the stream buffer.
|
||||
|
||||
\membersection{wxMemoryOutputStream::GetOutputStreamBuffer}\label{wxmemoryoutputstreamgetostrmbuf}
|
||||
|
||||
\constfunc{wxStreamBuffer *}{GetOutputStreamBuffer}{\void}
|
||||
|
||||
Returns the pointer to the stream object used as an internal buffer
|
||||
for that stream.
|
||||
|
Reference in New Issue
Block a user