2005/5/9

     
 

class BinaryObjectWriter

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

acdk::io::BinaryObjectWriter Class Reference

#include <BinaryObjectWriter.h>

Inheritance diagram for acdk::io::BinaryObjectWriter:

acdk::io::AbstractObjectWriter acdk::io::AbstractFilterWriter acdk::io::ObjectWriter acdk::io::AbstractWriter acdk::io::FilterWriter acdk::lang::Object acdk::io::Writer acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch acdk::java::serialization::JavaObjectWriter List of all members.

Detailed Description

Implementation to write Objects and basic type in binary format.

API: ACDK<br/>

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.16
Date:
Date
2005/04/09 19:26:44


Public Member Functions

 BinaryObjectWriter (IN(RWriter) out, int flags=SerializeDefaultFlags)
virtual void writeBoolean (bool b)
virtual void writeChar (char b)
 From acdk::io::DataWriter.

virtual void writeUcChar (uc2char b)
 From acdk::io::DataWriter.

virtual void writeShort (short b)
 From acdk::io::DataWriter.

virtual void writeInt (int b)
 From acdk::io::DataWriter.

virtual void writeLong (jlong b)
 From acdk::io::DataWriter.

virtual void writeFloat (float b)
 From acdk::io::DataWriter.

virtual void writeDouble (double b)
 From acdk::io::DataWriter.

void writeStringImpl (IN(RString) str)
void write (IN(RbyteArray) array, int offset=0, int len=-1)
 From acdk::io::DataWriter.

void write (byte b)
 default implementation: byte cbuf[2]; cbuf[1] = 0; cbuf[0] = c; return write((const byte*)cbuf, 0, 1);

void write (const byte *buffer, int offset, int len)
virtual void writeTagStart (IN(RString) key, IN(RString) value=Nil)
 implement form AbstractObjectWriter

virtual void writeTagEnd (IN(RString) key, IN(RString) value=Nil)
 implement form AbstractObjectWriter

virtual void writeClassId (IN(::acdk::lang::RClass) cls)
 implement form AbstractObjectWriter


Private Attributes

BinaryDataWriter _binout


Constructor & Destructor Documentation

acdk::io::BinaryObjectWriter::BinaryObjectWriter IN(RWriter out,
int  flags = SerializeDefaultFlags
[inline]
 


Member Function Documentation

void acdk::io::BinaryObjectWriter::write const byte buffer,
int  offset,
int  len
[inline, virtual]
 

Reimplemented from acdk::io::AbstractObjectWriter.

void acdk::io::BinaryObjectWriter::write byte  b  )  [inline, virtual]
 

default implementation: byte cbuf[2]; cbuf[1] = 0; cbuf[0] = c; return write((const byte*)cbuf, 0, 1);

Reimplemented from acdk::io::AbstractObjectWriter.

void acdk::io::BinaryObjectWriter::write IN(RbyteArray array,
int  offset = 0,
int  len = -1
[inline, virtual]
 

From acdk::io::DataWriter.

In the concrete class, you have to implement these classes

Implements acdk::io::AbstractObjectWriter.

virtual void acdk::io::BinaryObjectWriter::writeBoolean bool  b  )  [inline, virtual]
 

Implements acdk::io::ObjectWriter.

virtual void acdk::io::BinaryObjectWriter::writeChar char  b  )  [inline, virtual]
 

From acdk::io::DataWriter.

In the concrete class, you have to implement these classes

Implements acdk::io::AbstractObjectWriter.

virtual void acdk::io::BinaryObjectWriter::writeClassId IN(::acdk::lang::RClass cls  )  [virtual]
 

implement form AbstractObjectWriter

Implements acdk::io::AbstractObjectWriter.

virtual void acdk::io::BinaryObjectWriter::writeDouble double  b  )  [inline, virtual]
 

From acdk::io::DataWriter.

In the concrete class, you have to implement these classes

Implements acdk::io::AbstractObjectWriter.

virtual void acdk::io::BinaryObjectWriter::writeFloat float  b  )  [inline, virtual]
 

From acdk::io::DataWriter.

In the concrete class, you have to implement these classes

Implements acdk::io::AbstractObjectWriter.

virtual void acdk::io::BinaryObjectWriter::writeInt int  b  )  [inline, virtual]
 

From acdk::io::DataWriter.

In the concrete class, you have to implement these classes

Implements acdk::io::AbstractObjectWriter.

virtual void acdk::io::BinaryObjectWriter::writeLong jlong  b  )  [inline, virtual]
 

From acdk::io::DataWriter.

In the concrete class, you have to implement these classes

Implements acdk::io::AbstractObjectWriter.

virtual void acdk::io::BinaryObjectWriter::writeShort short  b  )  [inline, virtual]
 

From acdk::io::DataWriter.

In the concrete class, you have to implement these classes

Implements acdk::io::AbstractObjectWriter.

void acdk::io::BinaryObjectWriter::writeStringImpl IN(RString str  )  [inline, virtual]
 

Implements acdk::io::AbstractObjectWriter.

virtual void acdk::io::BinaryObjectWriter::writeTagEnd IN(RString key,
IN(RString value = Nil
[virtual]
 

implement form AbstractObjectWriter

Implements acdk::io::AbstractObjectWriter.

virtual void acdk::io::BinaryObjectWriter::writeTagStart IN(RString key,
IN(RString value = Nil
[virtual]
 

implement form AbstractObjectWriter

Implements acdk::io::AbstractObjectWriter.

virtual void acdk::io::BinaryObjectWriter::writeUcChar uc2char  b  )  [inline, virtual]
 

From acdk::io::DataWriter.

In the concrete class, you have to implement these classes

Implements acdk::io::AbstractObjectWriter.


Member Data Documentation

BinaryDataWriter acdk::io::BinaryObjectWriter::_binout [private]