|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdkx::orb::CDRObjectReader Class Reference#include <CDRObjectReader.h>
Inheritance diagram for acdkx::orb::CDRObjectReader:
List of all members.
|
Public Member Functions |
| CDRObjectReader (IN(RReader) out, IN(org::omg::CORBA::RORB) orb) |
virtual int | read () |
| read a single byte from stream
|
virtual int | read (IN(RbyteArray) buffer, int offset=0, int len=1) |
| read the len bytes into buffer at offset of the buffer
|
virtual int | read (byte *buffer, int offset, int len) |
RReader | getStorageReader () |
overwrite 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) |
overwrite acdk::io::RStorage | getStorage () |
| Gets the storage reader.
|
virtual jlong | seek (acdk::io::SeekPos seekrel, jlong seekpos) |
| Set stream position in this Reader to given position.
|
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::acdk::lang::RObject | readObject () |
| in this Version the stream itself has to store meta information about the class of the object.
|
virtual::acdk::lang::RObject | readObject (IN(::acdk::lang::RClass) clz) |
| In this version, the stream may not store meta information about the classes.
|
virtual RClass | readClassDescriptor (IN(RClass) cls) |
| not supported
|
virtual void | defaultReadObject (IN(RClass) cls, IN(acdk::lang::Object) obj) |
| not supported
|
virtual acdk::lang::dmi::ScriptVar | readScriptVar (bool withTypeInfo=true, bool withFlags=true) |
virtual org::omg::CORBA::RORB | orb () |
virtual bool | read_boolean () |
virtual char | read_char () |
virtual char | read_wchar () |
virtual byte | read_octet () |
virtual short | read_short () |
virtual short | read_ushort () |
virtual int | read_long () |
virtual int | read_ulong () |
virtual jlong | read_longlong () |
virtual long | read_ulonglong () |
virtual float | read_float () |
virtual double | read_double () |
virtual RString | read_string () |
virtual void | read_char_array (char *value, int offset, int length) |
virtual::acdk::lang::RObject | read_acdk_object (IN(::acdk::lang::RClass) clz) |
| try figure out themselves, which method applies.
|
virtual::org::omg::CORBA::RObject | read_Object () |
| reads an IOR
|
virtual::org::omg::CORBA::RObject | read_Object (IN(::acdk::lang::RClass) clz) |
| reads an IOR
|
virtual::acdk::lang::RObject | read_abstract_interface () |
virtual::acdk::lang::RObject | read_abstract_interface (IN(::acdk::lang::RClass) clz) |
virtual::acdk::lang::RObject | read_value () |
virtual::acdk::lang::RObject | read_value (IN(::acdk::lang::RString) rep_id) |
virtual::acdk::lang::RObject | read_value (IN(::acdk::lang::RClass) clz) |
virtual::acdk::lang::RObject | read_value (IN(::acdk::lang::RObject) value) |
virtual void | read_scriptVar (OUT(::acdk::lang::dmi::ScriptVar) sv, ParamCallDirection dir) |
| used for DMI over GIOP
|
::acdk::lang::RObject | read_fq_object (int flags) |
| read fq acdk::lang::Object from Stream used for DMI over GIOP
|
void | read_struct (IN(acdk::lang::Object) obj, bool withParent=true) |
void | read_struct (IN(::acdk::lang::RObject) obj, const::acdk::lang::dmi::ClazzInfo *ci, bool withParents) |
RThrowable | read_exception () |
Protected Member Functions |
void | _checkAlignment (int align) |
Protected Attributes |
org::omg::CORBA::RORB | _orb |
Private Attributes |
int | _index |
Constructor & Destructor Documentation
Member Function Documentation
void acdkx::orb::CDRObjectReader::_checkAlignment |
( |
int |
align |
) |
[protected] |
|
virtual void acdkx::orb::CDRObjectReader::defaultReadObject |
( |
IN(RClass) |
cls, |
|
|
IN(acdk::lang::Object) |
obj |
|
) |
[inline, virtual] |
|
overwrite acdk::io::RStorage acdkx::orb::CDRObjectReader::getStorage |
( |
|
) |
[inline, virtual] |
|
RReader acdkx::orb::CDRObjectReader::getStorageReader |
( |
|
) |
[inline, virtual] |
|
virtual int acdkx::orb::CDRObjectReader::read |
( |
byte * |
buffer, |
|
|
int |
offset, |
|
|
int |
len |
|
) |
[virtual] |
|
virtual int acdkx::orb::CDRObjectReader::read |
( |
IN(RbyteArray) |
buffer, |
|
|
int |
offset = 0, |
|
|
int |
len = 1 |
|
) |
[virtual] |
|
|
read the len bytes into buffer at offset of the buffer
- Parameters:
-
buffer | where to write the bytes |
offset | offset to write into buffer |
len | how many bytes to read. if == -1 read into many bytes, that fits into buffer (buffer->length() - offset) `` |
- Returns:
- number of bytes readed. may less than input if EOS is reached
- Exceptions:
-
EOF | exception, if trying to read behind EOS |
Reimplemented from acdk::io::AbstractFilterReader. |
virtual int acdkx::orb::CDRObjectReader::read |
( |
|
) |
[virtual] |
|
|
read a single byte from stream
- Returns:
- the byte readed or -1 if EOS.
- Exceptions:
-
EOF | exception, if trying to read behind EOS |
Reimplemented from acdk::io::AbstractFilterReader. |
virtual bool acdkx::orb::CDRObjectReader::read_boolean |
( |
|
) |
[inline, virtual] |
|
virtual char acdkx::orb::CDRObjectReader::read_char |
( |
|
) |
[inline, virtual] |
|
virtual void acdkx::orb::CDRObjectReader::read_char_array |
( |
char * |
value, |
|
|
int |
offset, |
|
|
int |
length |
|
) |
[virtual] |
|
virtual double acdkx::orb::CDRObjectReader::read_double |
( |
|
) |
[inline, virtual] |
|
RThrowable acdkx::orb::CDRObjectReader::read_exception |
( |
|
) |
|
|
virtual float acdkx::orb::CDRObjectReader::read_float |
( |
|
) |
[inline, virtual] |
|
virtual int acdkx::orb::CDRObjectReader::read_long |
( |
|
) |
[inline, virtual] |
|
virtual jlong acdkx::orb::CDRObjectReader::read_longlong |
( |
|
) |
[inline, virtual] |
|
virtual byte acdkx::orb::CDRObjectReader::read_octet |
( |
|
) |
[inline, virtual] |
|
virtual void acdkx::orb::CDRObjectReader::read_scriptVar |
( |
OUT(::acdk::lang::dmi::ScriptVar) |
sv, |
|
|
ParamCallDirection |
dir |
|
) |
[virtual] |
|
virtual short acdkx::orb::CDRObjectReader::read_short |
( |
|
) |
[inline, virtual] |
|
virtual RString acdkx::orb::CDRObjectReader::read_string |
( |
|
) |
[inline, virtual] |
|
void acdkx::orb::CDRObjectReader::read_struct |
( |
IN(::acdk::lang::RObject) |
obj, |
|
|
const::acdk::lang::dmi::ClazzInfo * |
ci, |
|
|
bool |
withParents |
|
) |
|
|
void acdkx::orb::CDRObjectReader::read_struct |
( |
IN(acdk::lang::Object) |
obj, |
|
|
bool |
withParent = true |
|
) |
|
|
virtual int acdkx::orb::CDRObjectReader::read_ulong |
( |
|
) |
[inline, virtual] |
|
virtual long acdkx::orb::CDRObjectReader::read_ulonglong |
( |
|
) |
[inline, virtual] |
|
virtual short acdkx::orb::CDRObjectReader::read_ushort |
( |
|
) |
[inline, virtual] |
|
virtual char acdkx::orb::CDRObjectReader::read_wchar |
( |
|
) |
[inline, virtual] |
|
virtual bool acdkx::orb::CDRObjectReader::readBoolean |
( |
|
) |
[virtual] |
|
virtual char acdkx::orb::CDRObjectReader::readChar |
( |
|
) |
[virtual] |
|
virtual RClass acdkx::orb::CDRObjectReader::readClassDescriptor |
( |
IN(RClass) |
cls |
) |
[inline, virtual] |
|
virtual double acdkx::orb::CDRObjectReader::readDouble |
( |
|
) |
[virtual] |
|
virtual float acdkx::orb::CDRObjectReader::readFloat |
( |
|
) |
[virtual] |
|
virtual int acdkx::orb::CDRObjectReader::readInt |
( |
|
) |
[virtual] |
|
virtual jlong acdkx::orb::CDRObjectReader::readLong |
( |
|
) |
[virtual] |
|
|
In this version, the stream may not store meta information about the classes.
Implements acdk::io::ObjectReader. |
virtual acdk::lang::dmi::ScriptVar acdkx::orb::CDRObjectReader::readScriptVar |
( |
bool |
withTypeInfo = true, |
|
|
bool |
withFlags = true |
|
) |
[virtual] |
|
|
- Parameters:
-
withTypeInfo | the the is encoded in the stream |
withFlags | writes also the flags |
Reimplemented from acdk::io::ObjectReader. |
virtual short acdkx::orb::CDRObjectReader::readShort |
( |
|
) |
[virtual] |
|
virtual RString acdkx::orb::CDRObjectReader::readString |
( |
|
) |
[virtual] |
|
virtual uc2char acdkx::orb::CDRObjectReader::readUcChar |
( |
|
) |
[virtual] |
|
virtual void acdkx::orb::CDRObjectReader::reset |
( |
|
) |
[inline, virtual] |
|
virtual void acdkx::orb::CDRObjectReader::setIn |
( |
IN(RReader) |
reader |
) |
[inline, virtual] |
|
overwrite jlong acdkx::orb::CDRObjectReader::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. |
Member Data Documentation
|
|