artefaktur
software engineer &        architecture

 
 
 
 

class StandardMarshaler

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

acdk::lang::dmi::StandardMarshaler Class Reference

#include <Marshaler.h>

Inheritance diagram for acdk::lang::dmi::StandardMarshaler:

acdk::lang::dmi::Marshaler List of all members.

Detailed Description

If a BYVAL-call is used locally, the standard marshaler is used to make copies of the objects.


Public Member Functions

virtual void marshal (IN(RClass) cls, IN(RObject) obj, byteArray &outstore, MarshalMode mode=Unknown)
 Marshals the given obj on basis of given class into the outstore.

virtual RObject unmarshal (IN(RClass) cls, byteArray &instore, MarshalMode mode=Unknown, IN(RObject) cachedObject=Nil)
 Unmarshals the on basis of given Class an object using instore.


Static Public Attributes

StandardMarshaler gInstance

Private Attributes

RObject _obj

Member Function Documentation

virtual void acdk::lang::dmi::StandardMarshaler::marshal IN(RClass cls,
IN(RObject obj,
byteArray outstore,
MarshalMode  mode = Unknown
[virtual]
 

Marshals the given obj on basis of given class into the outstore.

Parameters:
cls The Class, which should be used to marshal
obj the Object instance, which should be marshaled.
outstore the streamed storage
mode On which side and for which purpose the method will be called
Exceptions:
ObjectStreamException 

Implements acdk::lang::dmi::Marshaler.

virtual RObject acdk::lang::dmi::StandardMarshaler::unmarshal IN(RClass cls,
byteArray instore,
MarshalMode  mode = Unknown,
IN(RObject cachedObject = Nil
[virtual]
 

Unmarshals the on basis of given Class an object using instore.

Parameters:
cls The template to use
instore the buffer, from home to read
mode On which side and for which purpose the method will be called
cachedObject If the interface cache the object, it may can be reused by the marshaler
Returns:
The Object
Exceptions:
ObjectStreamException 

Implements acdk::lang::dmi::Marshaler.


Member Data Documentation

RObject acdk::lang::dmi::StandardMarshaler::_obj [private]
 

StandardMarshaler acdk::lang::dmi::StandardMarshaler::gInstance [static]
 

 
Last modified 2005-05-08 18:32 by SYSTEM By Artefaktur, Ing. Bureau Kommer