2005/5/9

     
 

class ASCIIDataReader

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

acdk::io::ASCIIDataReader Class Reference

#include <ASCIIDataReader.h>

Inheritance diagram for acdk::io::ASCIIDataReader:

acdk::io::AbstractFilterReader acdk::io::DataReader acdk::io::AbstractReader acdk::io::FilterReader acdk::lang::Object acdk::io::Reader acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

Filter to writes Data in Binary format.

Overtakes the role of java.io.DataOutputStream. API: ACDK

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.17
Date:
Date
2005/03/01 10:12:43


Public Member Functions

 ASCIIDataReader (IN(RReader) in)
virtual ~ASCIIDataReader ()
virtual jlong seek (SeekPos seekrel, jlong seekpos)
 Set stream position in this Reader to given position.

virtual jlong skip (jlong n)
 Move forwart into the stream.

virtual void reset ()
 if mark is set, set stream to mark point otherwise to begin of this stream.

virtual void setIn (IN(RReader) reader)
virtual RStorage getStorage ()
 Gets the storage reader.

virtual RReader getStorageReader ()
virtual bool readBoolean ()
virtual char readChar ()
virtual uc2char readUcChar ()
virtual double readDouble ()
virtual float readFloat ()
virtual int readInt ()
virtual jlong readLong ()
virtual short readShort ()
virtual RString readString ()
virtual int read ()
virtual int read (IN(RbyteArray) buffer, int offset=0, int len=-1)
virtual int read (byte *buffer, int offset, int len)
virtual bool ready ()


Constructor & Destructor Documentation

acdk::io::ASCIIDataReader::ASCIIDataReader IN(RReader in  )  [inline]
 

virtual acdk::io::ASCIIDataReader::~ASCIIDataReader  )  [inline, virtual]
 


Member Function Documentation

virtual RStorage acdk::io::ASCIIDataReader::getStorage  )  [inline, virtual]
 

Gets the storage reader.

If this contains an FilterReader instead of a Storage, the storage reader of this filter reader will be returned (recursive).

Reimplemented from acdk::io::AbstractFilterReader.

virtual RReader acdk::io::ASCIIDataReader::getStorageReader  )  [inline, virtual]
 

Reimplemented from acdk::io::AbstractFilterReader.

virtual int acdk::io::AbstractFilterReader::read byte buffer,
int  offset,
int  len
[inline]
 

virtual int acdk::io::AbstractFilterReader::read IN(RbyteArray buffer,
int  offset = 0,
int  len = -1
[inline]
 

virtual int acdk::io::AbstractFilterReader::read  )  [inline]
 

virtual bool acdk::io::ASCIIDataReader::readBoolean  )  [virtual]
 

Implements acdk::io::DataReader.

virtual char acdk::io::ASCIIDataReader::readChar  )  [virtual]
 

Implements acdk::io::DataReader.

virtual double acdk::io::ASCIIDataReader::readDouble  )  [virtual]
 

Implements acdk::io::DataReader.

virtual float acdk::io::ASCIIDataReader::readFloat  )  [virtual]
 

Implements acdk::io::DataReader.

virtual int acdk::io::ASCIIDataReader::readInt  )  [virtual]
 

Implements acdk::io::DataReader.

virtual jlong acdk::io::ASCIIDataReader::readLong  )  [virtual]
 

Implements acdk::io::DataReader.

virtual short acdk::io::ASCIIDataReader::readShort  )  [virtual]
 

Implements acdk::io::DataReader.

virtual RString acdk::io::ASCIIDataReader::readString  )  [virtual]
 

Implements acdk::io::DataReader.

virtual uc2char acdk::io::ASCIIDataReader::readUcChar  )  [virtual]
 

Implements acdk::io::DataReader.

virtual bool acdk::io::AbstractFilterReader::ready  )  [inline]
 

virtual void acdk::io::ASCIIDataReader::reset  )  [inline, virtual]
 

if mark is set, set stream to mark point otherwise to begin of this stream.

Reimplemented from acdk::io::AbstractFilterReader.

virtual jlong acdk::io::ASCIIDataReader::seek SeekPos  seekrel,
jlong  seekpos
[inline, virtual]
 

Set stream position in this Reader to given position.

Returns:
the absolute position in this stream

Reimplemented from acdk::io::AbstractFilterReader.

virtual void acdk::io::ASCIIDataReader::setIn IN(RReader reader  )  [inline, virtual]
 

Reimplemented from acdk::io::AbstractFilterReader.

virtual jlong acdk::io::ASCIIDataReader::skip jlong  n  )  [inline, virtual]
 

Move forwart into the stream.

Returns:
how many bytes skipped. May less then input, in case EOS is reached

Reimplemented from acdk::io::AbstractFilterReader.