Version: 2.9.4
Public Member Functions
wxStdOutputStream Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/stdstream.h>


Detailed Description

wxStdOutputStream is a std::ostream derived stream which writes to a wxOutputStream.

例:

    wxFFileOutputStream file("out.txt.gz");
    wxZlibOutputStream gzipOutput(file, -1, wxZLIB_GZIP);
    wxStdOutputStream out(gzipOutput);

    out << "Hello world!" << std::endl;

Library:  wxBase
Category:  Streams
参照:
wxOutputStream, wxStdOutputStreamBuffer

Public Member Functions

 wxStdOutputStream (wxOutputStream &stream)
 Creates a std::ostream derived stream which writes to a wxOutputStream.
virtual ~wxStdOutputStream ()
 Destructor.

List of all members.


Constructor & Destructor Documentation

wxStdOutputStream::wxStdOutputStream ( wxOutputStream stream)

Creates a std::ostream derived stream which writes to a wxOutputStream.

Parameters:
streamStream to write to.
virtual wxStdOutputStream::~wxStdOutputStream ( ) [inline, virtual]

Destructor.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines