1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
<HTML>
<head><title>wxDebugStreamBuf</title></head>
<BODY BGCOLOR=#FFFFFF>
<A NAME="wxdebugstreambuf"></A><CENTER>
<A HREF="wx.htm"><img align=center src="contents.gif" BORDER=0 ALT="Contents"></A> <A HREF="wx22.htm#classref"><img align=center src="up.gif" BORDER=0 ALT="Up"></A> <A HREF="wx69.htm#wxdebugcontext"><img align=center src="back.gif" BORDER=0 ALT="Previous"></A> <A HREF="wx71.htm#wxdialog"><img align=center src="forward.gif" BORDER=0 ALT="Next"></A> </CENTER><HR>
<H2>wxDebugStreamBuf</H2>
<P>
This class allows you to treat debugging output in a similar
(stream-based) fashion on different platforms. Under
Windows, an ostream constructed with this buffer outputs
to the debugger, or other program that intercepts debugging
output. On other platforms, the output goes to standard error (cerr).<P>
This is soon to be obsolete, replaced by <A HREF="wx132.htm#wxlog">wxLog</A> functionality.<P>
<B><FONT COLOR="#FF0000">Derived from</FONT></B><P>
streambuf<P>
<B><FONT COLOR="#FF0000">Include files</FONT></B><P>
<wx/memory.h><P>
<B><FONT COLOR="#FF0000">Example</FONT></B><P>
<PRE>
wxDebugStreamBuf streamBuf;
ostream stream(&streamBuf);
stream << "Hello world!" << endl;
</PRE>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx295.htm#wxdebugcontextoverview">Overview</A><P>
</BODY></HTML>
|