|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdkx::orb::CDRObjectWriter Class Reference#include <CDRObjectWriter.h>
Inheritance diagram for acdkx::orb::CDRObjectWriter:
List of all members.
|
Public Member Functions |
| CDRObjectWriter (IN(RWriter) out, IN(org::omg::CORBA::RORB) orb) |
virtual void | flush () |
virtual void | setOut (IN(RWriter) writer) |
virtual::acdk::io::RStorage | getStorage () |
| Gets the storage reader.
|
virtual::acdk::io::RWriter | getStorageWriter () |
| returns the unfiltered Writer
|
virtual void | write (const byte *cstr, int offset, int len) |
virtual void | write (byte c) |
| default implementation: byte cbuf[2]; cbuf[1] = 0; cbuf[0] = c; return write((const byte*)cbuf, 0, 1);
|
virtual void | write (IN(RbyteArray) ch, int offset=0, int len=-1) |
| default implementation: return write(ch->data(), offset, len == -1 ? ch->length() - offset : len);
|
virtual void | writeBoolean (bool b) |
virtual void | writeChar (char b) |
virtual void | writeUcChar (uc2char b) |
virtual void | writeShort (short b) |
virtual void | writeInt (int b) |
virtual void | writeLong (jlong b) |
virtual void | writeFloat (float b) |
virtual void | writeDouble (double b) |
virtual void | writeString (IN(RString) str) |
virtual void | writeObject (IN(acdk::lang::Object) obj) |
| This version write acdk::lang::Object to a Writer.
|
virtual void | writeObject (IN(RClass) cls, IN(acdk::lang::Object) obj) |
| This version writes an acdk::lang::Object to a Writer using the Class.
|
virtual void | defaultWriteObject (IN(RClass) cls, IN(acdk::lang::Object) obj) |
| not supported
|
virtual void | writeUnshared (IN(RClass) cls, IN(acdk::lang::Object) obj) |
| not supported
|
virtual void | writeClassDescriptor (IN(RClass) cls, IN(acdk::lang::Object) obj) |
| not supported
|
virtual void | writeScriptVar (acdk::lang::dmi::ScriptVar &sv, bool withTypeInfo=true, bool withFlags=true) |
virtual org::omg::CORBA::RORB | orb () |
RInputStream | create_input_stream () |
virtual void | write_boolean (bool value) |
virtual void | write_char (char value) |
virtual void | write_wchar (char value) |
virtual void | write_octet (byte value) |
virtual void | write_short (short value) |
virtual void | write_ushort (short value) |
virtual void | write_long (int value) |
virtual void | write_ulong (int value) |
virtual void | write_longlong (jlong value) |
virtual void | write_ulonglong (jlong value) |
virtual void | write_float (float value) |
virtual void | write_double (double value) |
virtual void | write_string (IN(RString) value) |
virtual void | write_wstring (IN(RString) value) |
virtual void | write_char_array (const char *value, int offset, int length) |
virtual void | write_acdk_object (IN(::acdk::lang::RObject) value) |
| acdkx_orb Extended try figure out themselves, which method applies If instanceOf acdk::io::Serializable -> write_value If instanceOf org::omg::CORBA::Object -> write_Object
|
virtual void | write_Object (IN(::org::omg::CORBA::RObject) value) |
| acdkx_orb Extended write object as value
|
virtual void | write_value (IN(::acdk::io::RSerializable) value) |
virtual void | write_value (IN(::acdk::io::RSerializable) value, IN(::acdk::lang::RString) rep_id) |
virtual void | write_value (IN(::acdk::io::RSerializable) value, IN(::acdk::lang::RClass) clz) |
virtual void | write_abstract_interface (IN(::acdk::lang::RObject) obj) |
void | write_exception (IN(RThrowable) ex) |
| writes an exception (Application and SystemExceptions);
|
void | write_repid (IN(::acdk::lang::RObject) obj) |
| writes IDL: + classname + :1.0
|
void | write_struct (IN(::acdk::lang::RObject) obj, bool withParents=true) |
| write given Object as struct
|
virtual void | write_scriptVar (IN(::acdk::lang::dmi::ScriptVar) sv, ParamCallDirection dir) |
| used for DMI over GIOP
|
virtual void | write_fq_object (IN(RObject) obj, int flags) |
| write Object with meta infor used for DMI over GIOP
|
Protected Member Functions |
void | _checkAlignment (int align) |
void | write_struct (IN(::acdk::lang::RObject) obj, const::acdk::lang::dmi::ClazzInfo *ci, bool withParents) |
Protected Attributes |
org::omg::CORBA::RORB | _orb |
Private Attributes |
int | _index |
Constructor & Destructor Documentation
acdkx::orb::CDRObjectWriter::CDRObjectWriter |
( |
IN(RWriter) |
out, |
|
|
IN(org::omg::CORBA::RORB) |
orb |
|
) |
|
|
Member Function Documentation
void acdkx::orb::CDRObjectWriter::_checkAlignment |
( |
int |
align |
) |
[protected] |
|
RInputStream acdkx::orb::CDRObjectWriter::create_input_stream |
( |
|
) |
[virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::defaultWriteObject |
( |
IN(RClass) |
cls, |
|
|
IN(RObject) |
obj |
|
) |
[inline, virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::flush |
( |
|
) |
[inline, virtual] |
|
virtual ::acdk::io::RStorage acdkx::orb::CDRObjectWriter::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::AbstractFilterWriter. |
virtual ::acdk::io::RWriter acdkx::orb::CDRObjectWriter::getStorageWriter |
( |
|
) |
[inline, virtual] |
|
virtual org::omg::CORBA::RORB acdkx::orb::CDRObjectWriter::orb |
( |
|
) |
[inline, virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::setOut |
( |
IN(RWriter) |
writer |
) |
[inline, virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::write |
( |
IN(RbyteArray) |
ch, |
|
|
int |
offset = 0, |
|
|
int |
len = -1 |
|
) |
[virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::write |
( |
byte |
c |
) |
[virtual] |
|
|
default implementation: byte cbuf[2]; cbuf[1] = 0; cbuf[0] = c; return write((const byte*)cbuf, 0, 1);
Reimplemented from acdk::io::AbstractFilterWriter. |
virtual void acdkx::orb::CDRObjectWriter::write |
( |
const byte * |
cstr, |
|
|
int |
offset, |
|
|
int |
len |
|
) |
[virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::write_abstract_interface |
( |
IN(::acdk::lang::RObject) |
obj |
) |
[virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::write_acdk_object |
( |
IN(::acdk::lang::RObject) |
value |
) |
[virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::write_boolean |
( |
bool |
value |
) |
[inline, virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::write_char |
( |
char |
value |
) |
[inline, virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::write_char_array |
( |
const char * |
value, |
|
|
int |
offset, |
|
|
int |
length |
|
) |
[virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::write_double |
( |
double |
value |
) |
[inline, virtual] |
|
void acdkx::orb::CDRObjectWriter::write_exception |
( |
IN(RThrowable) |
ex |
) |
[virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::write_float |
( |
float |
value |
) |
[inline, virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::write_fq_object |
( |
IN(RObject) |
obj, |
|
|
int |
flags |
|
) |
[virtual] |
|
|
write Object with meta infor used for DMI over GIOP
- Parameters:
-
obj | Object to write |
flags | see Modifier May contain ByVal |
- See also:
- enum DmiGiopArgFlags for serialization format
|
virtual void acdkx::orb::CDRObjectWriter::write_long |
( |
int |
value |
) |
[inline, virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::write_longlong |
( |
jlong |
value |
) |
[inline, virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::write_Object |
( |
IN(::org::omg::CORBA::RObject) |
value |
) |
[virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::write_octet |
( |
byte |
value |
) |
[inline, virtual] |
|
|
writes IDL: + classname + :1.0
|
virtual void acdkx::orb::CDRObjectWriter::write_scriptVar |
( |
IN(::acdk::lang::dmi::ScriptVar) |
sv, |
|
|
ParamCallDirection |
dir |
|
) |
[virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::write_short |
( |
short |
value |
) |
[inline, virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::write_string |
( |
IN(RString) |
value |
) |
[inline, virtual] |
|
void acdkx::orb::CDRObjectWriter::write_struct |
( |
IN(::acdk::lang::RObject) |
obj, |
|
|
const::acdk::lang::dmi::ClazzInfo * |
ci, |
|
|
bool |
withParents |
|
) |
[protected] |
|
void acdkx::orb::CDRObjectWriter::write_struct |
( |
IN(::acdk::lang::RObject) |
obj, |
|
|
bool |
withParents = true |
|
) |
|
|
virtual void acdkx::orb::CDRObjectWriter::write_ulong |
( |
int |
value |
) |
[inline, virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::write_ulonglong |
( |
jlong |
value |
) |
[inline, virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::write_ushort |
( |
short |
value |
) |
[inline, virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::write_wchar |
( |
char |
value |
) |
[inline, virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::write_wstring |
( |
IN(RString) |
value |
) |
[inline, virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::writeBoolean |
( |
bool |
b |
) |
[virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::writeChar |
( |
char |
b |
) |
[virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::writeClassDescriptor |
( |
IN(RClass) |
cls, |
|
|
IN(acdk::lang::Object) |
obj |
|
) |
[inline, virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::writeDouble |
( |
double |
b |
) |
[virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::writeFloat |
( |
float |
b |
) |
[virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::writeInt |
( |
int |
b |
) |
[virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::writeLong |
( |
jlong |
b |
) |
[virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::writeObject |
( |
IN(acdk::lang::Object) |
obj |
) |
[virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::writeScriptVar |
( |
acdk::lang::dmi::ScriptVar & |
sv, |
|
|
bool |
withTypeInfo = true, |
|
|
bool |
withFlags = true |
|
) |
[virtual] |
|
|
- Parameters:
-
hasTypeInfo | the the is encoded in the stream |
withFlags | writes also the flags |
Reimplemented from acdk::io::ObjectWriter. |
virtual void acdkx::orb::CDRObjectWriter::writeShort |
( |
short |
b |
) |
[virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::writeString |
( |
IN(RString) |
str |
) |
[virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::writeUcChar |
( |
uc2char |
b |
) |
[virtual] |
|
virtual void acdkx::orb::CDRObjectWriter::writeUnshared |
( |
IN(RClass) |
cls, |
|
|
IN(acdk::lang::Object) |
obj |
|
) |
[inline, virtual] |
|
Member Data Documentation
|
|