2005/5/9

     
 

class FilterWriter

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::io::FilterWriter Class Reference

#include <FilterWriter.h>

Inheritance diagram for acdk::io::FilterWriter:

acdk::io::Writer acdk::io::AbstractFilterWriter acdk::io::DataWriter acdk::io::TeeWriter acdk::io::AbstractObjectWriter acdk::io::ASCIIDataWriter acdk::io::BinaryDataWriter acdk::io::BufferedWriter acdk::net::TransRateWriter acdk::vfile::DeflateWriter acdkx::orb::CDRObjectWriter acdk::io::ASCIIDataWriter acdk::io::BinaryDataWriter acdk::io::ObjectWriter acdk::io::RandomAccessFile List of all members.

Detailed Description

Interface for a writer filter API: ACDK

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.14
Date:
Date
2005/04/09 19:26:45


Public Member Functions

virtual void flush ()=0
virtual void write (byte c)=0
 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)=0
 Uses write(byte c) to write bytes.

void write (const byte *cstr, int offset, int len)
virtual void setOut (IN(RWriter) writer)=0
virtual RStorage getStorage ()=0
virtual RWriter getStorageWriter ()=0
 returns the unfiltered Writer


Member Function Documentation

virtual void acdk::io::FilterWriter::flush  )  [pure virtual]
 

Implements acdk::io::Writer.

Implemented in acdk::io::AbstractFilterWriter, acdk::io::AbstractObjectWriter, acdk::io::ASCIIDataWriter, acdk::io::BinaryDataWriter, acdk::io::BufferedWriter, acdk::io::DataWriter, acdk::io::ObjectWriter, acdk::io::RandomAccessFile, acdk::io::TeeWriter, acdk::net::srfsys::FilterObjectWriter, acdk::vfile::DeflateWriter, and acdkx::orb::CDRObjectWriter.

virtual RStorage acdk::io::FilterWriter::getStorage  )  [pure virtual]
 

Implemented in acdk::io::AbstractFilterWriter, acdk::io::AbstractObjectWriter, acdk::io::ASCIIDataWriter, acdk::io::BinaryDataWriter, acdk::io::DataWriter, acdk::io::ObjectWriter, acdk::io::RandomAccessFile, acdk::io::TeeWriter, acdk::net::srfsys::FilterObjectWriter, and acdkx::orb::CDRObjectWriter.

virtual RWriter acdk::io::FilterWriter::getStorageWriter  )  [pure virtual]
 

returns the unfiltered Writer

Implemented in acdk::io::AbstractFilterWriter, acdk::io::AbstractObjectWriter, acdk::io::ASCIIDataWriter, acdk::io::BinaryDataWriter, acdk::io::DataWriter, acdk::io::ObjectWriter, acdk::io::RandomAccessFile, acdk::io::TeeWriter, acdk::net::srfsys::FilterObjectWriter, and acdkx::orb::CDRObjectWriter.

virtual void acdk::io::FilterWriter::setOut IN(RWriter writer  )  [pure virtual]
 

Implemented in acdk::io::AbstractFilterWriter, acdk::io::AbstractObjectWriter, acdk::io::ASCIIDataWriter, acdk::io::BinaryDataWriter, acdk::io::DataWriter, acdk::io::ObjectWriter, acdk::io::RandomAccessFile, acdk::io::TeeWriter, acdk::net::srfsys::FilterObjectWriter, and acdkx::orb::CDRObjectWriter.

void acdk::io::FilterWriter::write const byte cstr,
int  offset,
int  len
[inline, virtual]
 

Reimplemented from acdk::io::Writer.

Reimplemented in acdk::io::AbstractFilterWriter, acdk::io::AbstractObjectWriter, acdk::io::ASCIIDataWriter, acdk::io::BinaryDataWriter, acdk::io::BinaryObjectWriter, acdk::io::BufferedWriter, acdk::io::DataWriter, acdk::io::ObjectWriter, acdk::io::RandomAccessFile, acdk::io::TeeWriter, acdk::net::srfsys::FilterObjectWriter, acdk::net::TransRateWriter, acdk::vfile::DeflateWriter, and acdkx::orb::CDRObjectWriter.

virtual void acdk::io::FilterWriter::write IN(RbyteArray ch,
int  offset,
int  len
[pure virtual]
 

Uses write(byte c) to write bytes.

For performance reason this method should be implemented

Reimplemented from acdk::io::Writer.

Implemented in acdk::io::AbstractFilterWriter, acdk::io::AbstractObjectWriter, acdk::io::ASCIIDataWriter, acdk::io::BinaryDataWriter, acdk::io::BinaryObjectWriter, acdk::io::BufferedWriter, acdk::io::DataWriter, acdk::io::ObjectWriter, acdk::io::RandomAccessFile, acdk::io::TeeWriter, acdk::net::srfsys::FilterObjectWriter, acdk::net::TransRateWriter, acdk::vfile::DeflateWriter, acdk::xml::XMLObjectWriter, and acdkx::orb::CDRObjectWriter.

virtual void acdk::io::FilterWriter::write byte  c  )  [pure virtual]
 

default implementation: byte cbuf[2]; cbuf[1] = 0; cbuf[0] = c; return write((const byte*)cbuf, 0, 1);

Implements acdk::io::Writer.

Implemented in acdk::io::AbstractFilterWriter, acdk::io::AbstractObjectWriter, acdk::io::ASCIIDataWriter, acdk::io::BinaryDataWriter, acdk::io::BinaryObjectWriter, acdk::io::BufferedWriter, acdk::io::DataWriter, acdk::io::ObjectWriter, acdk::io::RandomAccessFile, acdk::io::TeeWriter, acdk::net::srfsys::FilterObjectWriter, acdk::net::TransRateWriter, acdk::vfile::DeflateWriter, and acdkx::orb::CDRObjectWriter.