2005/5/9

     
 

class NullWriter

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

acdk::io::NullWriter Class Reference

#include <NullWriter.h>

Inheritance diagram for acdk::io::NullWriter:

acdk::io::AbstractStorageWriter acdk::io::AbstractWriter acdk::io::Storage acdk::lang::Object acdk::io::Writer acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

This class is the implementation of Writer to /dev/null.

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


Public Member Functions

virtual void write (byte c)
 Does nothing.

virtual void write (const byte *cstr, int offset, int len)
 Does nothing.

virtual void write (IN(RbyteArray) ch, int offset=0, int len=-1)
 Does nothing.

virtual void flush ()
 Does nothing.

virtual void close ()
 Does nothing.

virtual RString getDeviceName ()
virtual bool isWriteable ()
virtual bool isReadable ()


Member Function Documentation

void acdk::io::NullWriter::close  )  [inline, virtual]
 

Does nothing.

Implements acdk::io::AbstractWriter.

void acdk::io::NullWriter::flush  )  [inline, virtual]
 

Does nothing.

Implements acdk::io::AbstractWriter.

virtual RString acdk::io::NullWriter::getDeviceName  )  [inline, virtual]
 

Returns:
the name of the device. Normally the filename

Implements acdk::io::AbstractStorageWriter.

virtual bool acdk::io::NullWriter::isReadable  )  [inline, virtual]
 

Returns:
true if Storage is readable

Implements acdk::io::AbstractStorageWriter.

virtual bool acdk::io::NullWriter::isWriteable  )  [inline, virtual]
 

Returns:
true if Storage is writable

Implements acdk::io::AbstractStorageWriter.

void acdk::io::NullWriter::write IN(RbyteArray ch,
int  offset = 0,
int  len = -1
[inline, virtual]
 

Does nothing.

Reimplemented from acdk::io::AbstractWriter.

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

Does nothing.

Reimplemented from acdk::io::AbstractWriter.

void acdk::io::NullWriter::write byte  c  )  [inline, virtual]
 

Does nothing.

Implements acdk::io::AbstractWriter.