wxOutputStream is an abstract base class which may not be used directly.
Derived from
Include files
<wx/stream.h>
Members
wxOutputStream::wxOutputStream
wxOutputStream::~wxOutputStream
wxOutputStream::LastWrite
wxOutputStream::PutC
wxOutputStream::SeekO
wxOutputStream::TellO
wxOutputStream::Write
wxOutputStream()
Creates a dummy wxOutputStream object.
~wxOutputStream()
Destructor.
size_t LastWrite() const
Returns the number of bytes written during the last Write().
void PutC(char c)
Puts the specified character in the output queue and increments the stream position.
off_t SeekO(off_t pos, wxSeekMode mode)
Changes the stream current position.
off_t TellO() const
Returns the current stream position.
wxOutputStream& Write(const void *buffer, size_t size)
Writes the specified amount of bytes using the data of buffer. WARNING! The buffer absolutely needs to have at least the specified size.
This function returns a reference on the current object, so the user can test any states of the stream right away.
wxOutputStream& Write(wxInputStream& stream_in)
Reads data from the specified input stream and stores them in the current stream. The data is read until an error is raised by one of the two streams.