#include <ObjectLogWriter.h>
Inheritance diagram for acdk::net::srfsys::FilterObjectWriter:
Public Member Functions | |
FilterObjectWriter (IN(::acdk::io::RObjectWriter) out) | |
virtual void | flush () |
virtual void | close () |
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) |
writes to the unterlying data stream | |
virtual void | setOut (IN(RWriter) writer) |
virtual RStorage | getStorage () |
virtual RWriter | getStorageWriter () |
returns the unfiltered Writer | |
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 | writeOpaque (IN(RbyteArray) array) |
writes the data as opaque data. | |
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) |
if a class implements the writeObject method it can call defaultWriteObject for default object serialization This method only writes the acdk::lang::Object information (the fields) of this class | |
virtual void | writeUnshared (IN(RClass) cls, IN(acdk::lang::Object) obj) |
write a class unshared without any back references to previous written objects | |
virtual void | writeClassDescriptor (IN(RClass) cls, IN(acdk::lang::Object) obj) |
writes a class descriptor of current object. | |
virtual void | writeScriptVar (acdk::lang::dmi::ScriptVar &sv, bool withTypeInfo=true, bool withFlags=true) |
Protected Attributes | |
::acdk::io::RObjectWriter | _out |
|
|
|
Implements acdk::io::Writer. |
|
if a class implements the writeObject method it can call defaultWriteObject for default object serialization This method only writes the acdk::lang::Object information (the fields) of this class
Implements acdk::io::ObjectWriter. |
|
Implements acdk::io::ObjectWriter. |
|
Implements acdk::io::ObjectWriter. |
|
returns the unfiltered Writer
Implements acdk::io::ObjectWriter. |
|
Implements acdk::io::ObjectWriter. |
|
writes to the unterlying data stream
Implements acdk::io::ObjectWriter. |
|
default implementation: byte cbuf[2]; cbuf[1] = 0; cbuf[0] = c; return write((const byte*)cbuf, 0, 1);
Implements acdk::io::ObjectWriter. |
|
Reimplemented from acdk::io::ObjectWriter. |
|
Implements acdk::io::ObjectWriter. |
|
Implements acdk::io::ObjectWriter. |
|
writes a class descriptor of current object. This method will only be called once for the most derived class The main purpose of the class descriptor is to identify the class to enable restruction out of the stream 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. Reimplemented in acdk::net::srfsys::ObjectLogWriter. |
|
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 in acdk::net::srfsys::ObjectLogWriter. |
|
writes the data as opaque data. DataWriter may apply some encoding Reimplemented from acdk::io::DataWriter. |
|
Reimplemented from acdk::io::ObjectWriter. |
|
Implements acdk::io::ObjectWriter. |
|
Implements acdk::io::ObjectWriter. |
|
Implements acdk::io::ObjectWriter. |
|
write a class unshared without any back references to previous written objects
Implements acdk::io::ObjectWriter. |
|
|