.\" This is a wxWidgets manpage page generated from the XML docs .TH wxTextOutputStream 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxTextOutputStream \- Platform-independent text data output stream class .SH DESCRIPTION This class provides functions that write text datas using an output stream. So, you can write text floats, integers. You can also simulate the C++ cout class: wxFFileOutputStream output( stderr ); wxTextOutputStream cout( output ); cout << "This is a text line" << endl; cout << 1234; cout << 1.23456; The wxTextOutputStream writes text files (or streams) on DOS, Macintosh and Unix in their native formats (concerning the line ending). .SH "PARENTS" .SH "INCLUDE FILES" wx/txtstrm.h .SH MEMBERS .SS wxTextOutputStream (wxOutputStream& streamwxEOL mode = wxEOL_NATIVE) Constructs a text stream object associated to the given output stream. .SS wxTextOutputStream (wxOutputStream& streamwxEOL mode = wxEOL_NATIVEwxMBConv& conv = wxConvUTF8) Constructs a text stream object associated to the given output stream. .SS ~wxTextOutputStream () Destroys the wxTextOutputStream object. .SS wxEOL GetMode () Returns the end-of-line mode. One of wxEOL_DOS , wxEOL_MAC and wxEOL_UNIX . .SS void PutChar (wxChar c) Writes a character to the stream. .SS void SetMode (wxEOL mode = wxEOL_NATIVE) Set the end-of-line mode. One of wxEOL_NATIVE , wxEOL_DOS , wxEOL_MAC and wxEOL_UNIX . .SS void Write8 (wxUint8 i8) Writes the single byte i8 to the stream. .SS void Write16 (wxUint16 i16) Writes the 16 bit integer i16 to the stream. .SS void Write32 (wxUint32 i32) Writes the 32 bit integer i32 to the stream. .SS virtual void WriteDouble (double f) Writes the double f to the stream using the IEEE format. .SS virtual void WriteString (const wxString& string) Writes string as a line. Depending on the end-of-line mode the end of line ('\backslashn') characters in the string are converted to the correct line ending terminator. .SH "SEE ALSO" .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.