#include </home/zeitlin/src/wx/github/interface/wx/stdstream.h>
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;
Public Member Functions | |
wxStdOutputStream (wxOutputStream &stream) | |
Creates a std::ostream derived stream which writes to a wxOutputStream. | |
virtual | ~wxStdOutputStream () |
Destructor. |
wxStdOutputStream::wxStdOutputStream | ( | wxOutputStream & | stream | ) |
Creates a std::ostream derived stream which writes to a wxOutputStream.
stream | Stream to write to. |
virtual wxStdOutputStream::~wxStdOutputStream | ( | ) | [inline, virtual] |
Destructor.