#include <AbstractFilterWriter.h>
Inheritance diagram for acdk::io::AbstractFilterWriter:
API: ACDK
Public Member Functions | |
AbstractFilterWriter (IN(RWriter) out, IN(acdk::lang::Object) lock=Nil) | |
virtual void | setOut (IN(RWriter) writer) |
virtual RWriter | getOut () |
virtual RStorage | getStorage () |
Gets the storage reader. | |
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 (const byte *cstr, int offset, int len) |
virtual void | write (IN(RbyteArray) ch, int offset=0, int len=-1) |
default implementation: return write(ch->data(), offset, len == -1 ? ch->length() - offset : len); | |
virtual void | flush () |
virtual void | close () |
virtual RWriter | getStorageWriter () |
returns the unfiltered Writer | |
Protected Attributes | |
RWriter | _out |
|
|
|
Implements acdk::io::AbstractWriter. Reimplemented in acdk::io::BufferedWriter, and acdk::vfile::DeflateWriter. |
|
|
|
|
Gets the storage reader. If this contains an FilterReader instead of a Storage, the storage reader of this filter reader will be returned (recursive). Implements acdk::io::FilterWriter. Reimplemented in acdk::io::AbstractObjectWriter, acdk::io::ASCIIDataWriter, acdk::io::BinaryDataWriter, and acdkx::orb::CDRObjectWriter. |
|
returns the unfiltered Writer
Implements acdk::io::FilterWriter. Reimplemented in acdk::io::AbstractObjectWriter, acdk::io::ASCIIDataWriter, acdk::io::BinaryDataWriter, and acdkx::orb::CDRObjectWriter. |
|
Implements acdk::io::FilterWriter. Reimplemented in acdk::io::AbstractObjectWriter, acdk::io::ASCIIDataWriter, acdk::io::BinaryDataWriter, and acdkx::orb::CDRObjectWriter. |
|
default implementation: return write(ch->data(), offset, len == -1 ? ch->length() - offset : len);
Reimplemented from acdk::io::AbstractWriter. Reimplemented in acdk::io::AbstractObjectWriter, acdk::io::ASCIIDataWriter, acdk::io::BinaryDataWriter, acdk::io::BinaryObjectWriter, acdk::io::BufferedWriter, acdk::net::TransRateWriter, acdk::vfile::DeflateWriter, acdk::xml::XMLObjectWriter, and acdkx::orb::CDRObjectWriter. |
|
|
default implementation: byte cbuf[2]; cbuf[1] = 0; cbuf[0] = c; return write((const byte*)cbuf, 0, 1);
Implements acdk::io::AbstractWriter. Reimplemented in acdk::io::AbstractObjectWriter, acdk::io::ASCIIDataWriter, acdk::io::BinaryDataWriter, acdk::io::BinaryObjectWriter, acdk::io::BufferedWriter, acdk::net::TransRateWriter, acdk::vfile::DeflateWriter, and acdkx::orb::CDRObjectWriter. |
|
|