2005/5/9

     
 

class JavaObjectReader

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

acdk::java::serialization::JavaObjectReader Class Reference

#include <JavaObjectReader.h>

Inheritance diagram for acdk::java::serialization::JavaObjectReader:

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

Public Member Functions

 JavaObjectReader (IN(::acdk::io::RReader) in)
virtual RString readString ()
virtual acdk::lang::Object readObject ()
 in this Version the stream itself has to store meta information about the class of the object.

acdk::lang::Object createObject (IN(RString) javaclassname, const ClassTypeMapping *ctm)
 creates an acdk::lang::Object corresponding to the javaclassname

RString readUtf ()
 reads only ASCII subset of UTF

RString readLongUtf ()
RbyteArray readBlock ()
RClassDescription readClassDesc ()
acdk::lang::Object readObject2 (int tp)
int registerNewObject (IN(acdk::lang::Object) obj)

Protected Member Functions

void _readStreamHeader ()

Protected Attributes

RJavaObjectReadWriteCache _prevObjects

Constructor & Destructor Documentation

acdk::java::serialization::JavaObjectReader::JavaObjectReader IN(::acdk::io::RReader in  ) 
 


Member Function Documentation

void acdk::java::serialization::JavaObjectReader::_readStreamHeader  )  [protected]
 

acdk::lang::Object acdk::java::serialization::JavaObjectReader::createObject IN(RString javaclassname,
const ClassTypeMapping ctm
 

creates an acdk::lang::Object corresponding to the javaclassname

RbyteArray acdk::java::serialization::JavaObjectReader::readBlock  ) 
 

RClassDescription acdk::java::serialization::JavaObjectReader::readClassDesc  ) 
 

RString acdk::java::serialization::JavaObjectReader::readLongUtf  ) 
 

virtual acdk::lang::Object acdk::java::serialization::JavaObjectReader::readObject  )  [virtual]
 

in this Version the stream itself has to store meta information about the class of the object.

Reimplemented from acdk::io::AbstractObjectReader.

acdk::lang::Object acdk::java::serialization::JavaObjectReader::readObject2 int  tp  ) 
 

virtual RString acdk::java::serialization::JavaObjectReader::readString  )  [virtual]
 

Reimplemented from acdk::io::AbstractObjectReader.

RString acdk::java::serialization::JavaObjectReader::readUtf  ) 
 

reads only ASCII subset of UTF

int acdk::java::serialization::JavaObjectReader::registerNewObject IN(acdk::lang::Object obj  )  [inline]
 


Member Data Documentation

RJavaObjectReadWriteCache acdk::java::serialization::JavaObjectReader::_prevObjects [protected]