![]() |
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <>>
Public Member Functions | |
WinOutStream (void *fd) | |
void * | fd (void) const |
virtual int | write (const char *buffer, int size) |
virtual int | flush (void) |
virtual CString | lastErrorMessage (void) |
![]() | |
virtual | ~OutStream (void) |
virtual int | write (char byte) |
virtual bool | supportsANSI () const |
Protected Attributes | |
void * | _fd |
Additional Inherited Members | |
![]() | |
static OutStream & | null = _null |
Output stream implementation using the Win low-level IO system (only on OSes supporting POSIX).
WinOutStream | ( | void * | fd | ) |
Build an Win output stream.
fd | File descriptor. |
Build a Win output stream using a file descriptor identifier.
_fd | File descriptor identifier. |
References WinOutStream::_fd.
|
virtual |
Cause the current stream to dump its buffer to the medium.
Implements OutStream.
|
virtual |
This is the main method of an output stream: the given buffer is put on the stream.
buffer | Byte buffer to write. |
size | Size of the byte buffer. |
Implements OutStream.
References WinOutStream::_fd, elm::io::err, and elm::io::out.
|
protected |
Referenced by WinOutStream::fd(), and WinOutStream::write().