class OutputStream
Inherited by: MemoryOutputStream, StdStreamOutputStream and StdStringOutputStream.
Required header: <Eclog/OutputStream.h>
The OutputStream abstract class represents an output stream of characters.
Name | Description |
---|---|
state | Checks whether the stream is in good state. |
write | Inserts characters to the stream. |
virtual bool state() const;
Checks whether the stream is in good state.
bool
true if the stream is good, false otherwise.
virtual void write(const char* buffer, size_t size);
Inserts characters to the stream.
char*
buffer The buffer to write.
size_t
size The number of characters to write.