2005/5/9

     
 

class DataReader

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

acdk::io::DataReader Class Reference

#include <DataReader.h>

Inheritance diagram for acdk::io::DataReader:

acdk::io::FilterReader acdk::io::ASCIIDataReader acdk::io::BinaryDataReader acdk::io::ObjectReader acdk::io::RandomAccessFile acdk::io::AbstractObjectReader acdk::net::srfsys::FilterObjectReader acdkx::orb::CDRObjectReader acdk::io::BinaryObjectReader acdk::xml::XMLObjectReader acdk::net::srfsys::ObjectLogReader acdkx::orb::OrbInputStream acdk::java::serialization::JavaObjectReader acdkx::orb::ReplyInputStream List of all members.

Detailed Description

Interface for reading basic data.

API: ACDK

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


Public Member Functions

overwrite jlong seek (SeekPos seekrel, jlong seekpos)=0
 Set stream position in this Reader to given position.

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

overwrite jlong skip (jlong n)=0
 Move forwart into the stream.

overwrite void setIn (IN(RReader) reader)=0
overwrite RStorage getStorage ()=0
overwrite RReader getStorageReader ()=0
virtual bool readBoolean ()=0
virtual char readChar ()=0
virtual uc2char readUcChar ()=0
virtual double readDouble ()=0
virtual float readFloat ()=0
virtual int readInt ()=0
virtual jlong readLong ()=0
virtual short readShort ()=0
virtual RString readString ()=0
virtual RbyteArray readOpaque ()
 writes the oktet array as opaque data with optional encoding


Member Function Documentation

overwrite RStorage acdk::io::DataReader::getStorage  )  [pure virtual]
 

Implements acdk::io::FilterReader.

Implemented in acdk::io::AbstractObjectReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, acdk::io::ObjectReader, acdk::io::RandomAccessFile, acdk::net::srfsys::FilterObjectReader, and acdkx::orb::CDRObjectReader.

overwrite RReader acdk::io::DataReader::getStorageReader  )  [pure virtual]
 

Implements acdk::io::FilterReader.

Implemented in acdk::io::AbstractObjectReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, acdk::io::ObjectReader, acdk::io::RandomAccessFile, acdk::net::srfsys::FilterObjectReader, and acdkx::orb::CDRObjectReader.

virtual bool acdk::io::DataReader::readBoolean  )  [pure virtual]
 

Implemented in acdk::io::AbstractObjectReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, acdk::io::BinaryObjectReader, acdk::io::ObjectReader, acdk::io::RandomAccessFile, acdk::net::srfsys::FilterObjectReader, acdk::xml::XMLObjectReader, and acdkx::orb::CDRObjectReader.

virtual char acdk::io::DataReader::readChar  )  [pure virtual]
 

Implemented in acdk::io::AbstractObjectReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, acdk::io::BinaryObjectReader, acdk::io::ObjectReader, acdk::io::RandomAccessFile, acdk::net::srfsys::FilterObjectReader, acdk::xml::XMLObjectReader, and acdkx::orb::CDRObjectReader.

virtual double acdk::io::DataReader::readDouble  )  [pure virtual]
 

Implemented in acdk::io::AbstractObjectReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, acdk::io::BinaryObjectReader, acdk::io::ObjectReader, acdk::io::RandomAccessFile, acdk::net::srfsys::FilterObjectReader, acdk::xml::XMLObjectReader, and acdkx::orb::CDRObjectReader.

virtual float acdk::io::DataReader::readFloat  )  [pure virtual]
 

Implemented in acdk::io::AbstractObjectReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, acdk::io::BinaryObjectReader, acdk::io::ObjectReader, acdk::io::RandomAccessFile, acdk::net::srfsys::FilterObjectReader, acdk::xml::XMLObjectReader, and acdkx::orb::CDRObjectReader.

virtual int acdk::io::DataReader::readInt  )  [pure virtual]
 

Implemented in acdk::io::AbstractObjectReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, acdk::io::BinaryObjectReader, acdk::io::ObjectReader, acdk::io::RandomAccessFile, acdk::net::srfsys::FilterObjectReader, acdk::xml::XMLObjectReader, and acdkx::orb::CDRObjectReader.

virtual jlong acdk::io::DataReader::readLong  )  [pure virtual]
 

Implemented in acdk::io::AbstractObjectReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, acdk::io::BinaryObjectReader, acdk::io::ObjectReader, acdk::io::RandomAccessFile, acdk::net::srfsys::FilterObjectReader, acdk::xml::XMLObjectReader, and acdkx::orb::CDRObjectReader.

virtual RbyteArray acdk::io::DataReader::readOpaque  )  [inline, virtual]
 

writes the oktet array as opaque data with optional encoding

Reimplemented in acdk::io::AbstractObjectReader, acdk::io::BinaryDataReader, and acdk::xml::XMLObjectReader.

virtual short acdk::io::DataReader::readShort  )  [pure virtual]
 

Implemented in acdk::io::AbstractObjectReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, acdk::io::BinaryObjectReader, acdk::io::ObjectReader, acdk::io::RandomAccessFile, acdk::net::srfsys::FilterObjectReader, acdk::xml::XMLObjectReader, and acdkx::orb::CDRObjectReader.

virtual RString acdk::io::DataReader::readString  )  [pure virtual]
 

Implemented in acdk::io::AbstractObjectReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, acdk::io::ObjectReader, acdk::io::RandomAccessFile, acdk::java::serialization::JavaObjectReader, acdk::net::srfsys::FilterObjectReader, and acdkx::orb::CDRObjectReader.

virtual uc2char acdk::io::DataReader::readUcChar  )  [pure virtual]
 

Implemented in acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, acdk::io::BinaryObjectReader, acdk::io::ObjectReader, acdk::io::RandomAccessFile, acdk::net::srfsys::FilterObjectReader, acdk::xml::XMLObjectReader, and acdkx::orb::CDRObjectReader.

overwrite void acdk::io::DataReader::reset  )  [pure virtual]
 

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

Implements acdk::io::FilterReader.

Implemented in acdk::io::AbstractObjectReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, acdk::io::ObjectReader, acdk::io::RandomAccessFile, acdk::net::srfsys::FilterObjectReader, and acdkx::orb::CDRObjectReader.

overwrite jlong acdk::io::DataReader::seek SeekPos  seekrel,
jlong  seekpos
[pure virtual]
 

Set stream position in this Reader to given position.

Returns:
the absolute position in this stream

Implements acdk::io::FilterReader.

Implemented in acdk::io::AbstractObjectReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, acdk::io::ObjectReader, acdk::io::RandomAccessFile, acdk::net::srfsys::FilterObjectReader, and acdkx::orb::CDRObjectReader.

overwrite void acdk::io::DataReader::setIn IN(RReader reader  )  [pure virtual]
 

Implements acdk::io::FilterReader.

Implemented in acdk::io::AbstractObjectReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, acdk::io::ObjectReader, acdk::io::RandomAccessFile, acdk::net::srfsys::FilterObjectReader, and acdkx::orb::CDRObjectReader.

overwrite jlong acdk::io::DataReader::skip jlong  n  )  [pure virtual]
 

Move forwart into the stream.

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

Implements acdk::io::FilterReader.

Implemented in acdk::io::AbstractObjectReader, acdk::io::ASCIIDataReader, acdk::io::BinaryDataReader, acdk::io::ObjectReader, acdk::io::RandomAccessFile, acdk::net::srfsys::FilterObjectReader, and acdkx::orb::CDRObjectReader.