X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4cc4bfafe5a31cb96f35b3ec9b19fa2b0b3a4eef..63b37a4e648320827a5b4a3161be13154370b5c3:/interface/mstream.h diff --git a/interface/mstream.h b/interface/mstream.h index b6ac5e9074..37319f10b2 100644 --- a/interface/mstream.h +++ b/interface/mstream.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: mstream.h -// Purpose: documentation for wxMemoryOutputStream class +// Purpose: interface of wxMemoryOutputStream // Author: wxWidgets team // RCS-ID: $Id$ // Licence: wxWindows license @@ -14,8 +14,7 @@ @library{wxbase} @category{streams} - @seealso - wxStreamBuffer + @see wxStreamBuffer */ class wxMemoryOutputStream : public wxOutputStream { @@ -36,16 +35,17 @@ public: wxMemoryOutputStream to an external buffer. @a len specifies the size of the buffer. */ - size_t CopyTo(char* buffer, size_t len); + size_t CopyTo(char* buffer, size_t len) const; /** Returns the pointer to the stream object used as an internal buffer for that stream. */ - wxStreamBuffer* GetOutputStreamBuffer(); + wxStreamBuffer* GetOutputStreamBuffer() const; }; + /** @class wxMemoryInputStream @wxheader{mstream.h} @@ -54,8 +54,7 @@ public: @library{wxbase} @category{streams} - @seealso - wxStreamBuffer, wxMemoryOutputStream + @see wxStreamBuffer, wxMemoryOutputStream */ class wxMemoryInputStream : public wxInputStream { @@ -83,5 +82,6 @@ public: Returns the pointer to the stream object used as an internal buffer for that stream. */ - wxStreamBuffer* GetInputStreamBuffer(); + wxStreamBuffer* GetInputStreamBuffer() const; }; +