// Purpose: interface of wxTextInputStream
// Author: wxWidgets team
// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
<b>In Unicode build only:</b> The encoding converter used to
convert the bytes in the underlying input stream to characters.
*/
- wxTextInputStream(wxInputStream& stream,
- const wxString& sep = " \t",
+ wxTextInputStream(wxInputStream& stream, const wxString& sep = " \t",
const wxMBConv& conv = wxConvAuto());
/**
*/
~wxTextInputStream();
+ /**
+ Returns a pointer to the underlying input stream object.
+
+ @since 2.9.2
+ */
+ const wxInputStream& GetInputStream() const;
+
/**
Reads a character, returns 0 if there are no more characters in the
stream.
*/
void Flush();
+ /**
+ Returns a pointer to the underlying output stream object.
+
+ @since 2.9.2
+ */
+ const wxOutputStream& GetOutputStream() const;
+
/**
Returns the end-of-line mode. One of ::wxEOL_DOS, ::wxEOL_MAC and
::wxEOL_UNIX.
/**
Writes a character to the stream.
*/
- void PutChar(wxChar c);
+ wxTextOutputStream& PutChar(wxChar c);
/**
Set the end-of-line mode. One of ::wxEOL_NATIVE, ::wxEOL_DOS,