#include <ConsoleWriter.h>
Inheritance diagram for acdk::io::ConsoleWriter:
API: ACDK
Public Member Functions | |
ConsoleWriter (ConsoleOutChannel fd=InvalidConsoleOutChannel, IN(acdk::lang::Object) iolock=Nil) | |
virtual | ~ConsoleWriter () |
virtual void | flush () |
virtual void | close () |
virtual void | write (const byte *cstr, int offset, int len) |
virtual void | write (byte c) |
default implementation: byte cbuf[2]; cbuf[1] = 0; cbuf[0] = c; return write((const byte*)cbuf, 0, 1); | |
virtual void | write (IN(RbyteArray) ch, int offset, int len) |
default implementation: return write(ch->data(), offset, len == -1 ? ch->length() - offset : len); | |
virtual RString | getDeviceName () |
virtual bool | isWriteable () |
virtual bool | isReadable () |
Public Attributes | |
FILE * | _fptr |
|
|
|
|
|
Implements acdk::io::AbstractWriter. |
|
Implements acdk::io::AbstractWriter. |
|
Implements acdk::io::AbstractStorageWriter. |
|
Implements acdk::io::AbstractStorageWriter. |
|
Implements acdk::io::AbstractStorageWriter. |
|
default implementation: return write(ch->data(), offset, len == -1 ? ch->length() - offset : len);
Reimplemented from acdk::io::AbstractWriter. |
|
default implementation: byte cbuf[2]; cbuf[1] = 0; cbuf[0] = c; return write((const byte*)cbuf, 0, 1);
Implements acdk::io::AbstractWriter. |
|
Reimplemented from acdk::io::AbstractWriter. |
|
|