#include <CDRObjectWriter.h>
Inheritance diagram for acdkx::orb::CDRObjectWriter:
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 |
|
|
|
|
|
Implements org::omg::CORBA::portable::OutputStream. |
|
not supported
Implements acdk::io::ObjectWriter. |
|
Reimplemented from acdk::io::AbstractFilterWriter. |
|
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. |
|
returns the unfiltered Writer
Reimplemented from acdk::io::AbstractFilterWriter. |
|
Implements org::omg::CORBA::portable::OutputStream. |
|
Reimplemented from acdk::io::AbstractFilterWriter. |
|
default implementation: return write(ch->data(), offset, len == -1 ? ch->length() - offset : len);
Reimplemented from acdk::io::AbstractFilterWriter. |
|
default implementation: byte cbuf[2]; cbuf[1] = 0; cbuf[0] = c; return write((const byte*)cbuf, 0, 1);
Reimplemented from acdk::io::AbstractFilterWriter. |
|
Reimplemented from acdk::io::AbstractFilterWriter. |
|
Reimplemented from org::omg::CORBA::portable::OutputStream. |
|
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
Implements org::omg::CORBA::portable::OutputStream. |
|
Implements org::omg::CORBA::portable::OutputStream. |
|
Implements org::omg::CORBA::portable::OutputStream. |
|
Implements org::omg::CORBA::portable::OutputStream. |
|
Implements org::omg::CORBA::portable::OutputStream. |
|
writes an exception (Application and SystemExceptions);
Reimplemented from org::omg::CORBA::portable::OutputStream. |
|
Implements org::omg::CORBA::portable::OutputStream. |
|
write Object with meta infor used for DMI over GIOP
|
|
Implements org::omg::CORBA::portable::OutputStream. |
|
Implements org::omg::CORBA::portable::OutputStream. |
|
acdkx_orb Extended write object as value
Reimplemented from org::omg::CORBA::portable::OutputStream. |
|
Implements org::omg::CORBA::portable::OutputStream. |
|
writes IDL: + classname + :1.0
|
|
used for DMI over GIOP
Reimplemented from org::omg::CORBA::portable::OutputStream. |
|
Implements org::omg::CORBA::portable::OutputStream. |
|
Implements org::omg::CORBA::portable::OutputStream. |
|
|
|
write given acdk::lang::Object as struct
|
|
Implements org::omg::CORBA::portable::OutputStream. |
|
Implements org::omg::CORBA::portable::OutputStream. |
|
Implements org::omg::CORBA::portable::OutputStream. |
|
|
|
|
|
Reimplemented from org::omg::CORBA::portable::OutputStream. |
|
Implements org::omg::CORBA::portable::OutputStream. |
|
Implements org::omg::CORBA::portable::OutputStream. |
|
Implements acdk::io::ObjectWriter. |
|
Implements acdk::io::ObjectWriter. |
|
not supported
Implements acdk::io::ObjectWriter. |
|
Implements acdk::io::ObjectWriter. |
|
Implements acdk::io::ObjectWriter. |
|
Implements acdk::io::ObjectWriter. |
|
Implements acdk::io::ObjectWriter. |
|
This version writes an acdk::lang::Object to a Writer using the Class. In normal case, thit version writes the data untagged (i.e. no meta info) into the writer. Implements acdk::io::ObjectWriter. |
|
This version write acdk::lang::Object to a Writer. In normal case, it also write a description (tagged) of the Class (for ClassLoader) at the beginning.
Reimplemented from acdk::io::ObjectWriter. |
|
Reimplemented from acdk::io::ObjectWriter. |
|
Implements acdk::io::ObjectWriter. |
|
Implements acdk::io::ObjectWriter. |
|
Implements acdk::io::ObjectWriter. |
|
not supported
Implements acdk::io::ObjectWriter. |
|
|
|
|