Main Page   Packages   Class Hierarchy   Compound List   Compound Members   Related Pages  

Sct::TestFramework.TestObjectManager Class Reference

Extends AbstractObjectManager to get the createObject method. More...

Inheritance diagram for Sct::TestFramework.TestObjectManager:

Sct.AbstractObjectManager Sct.ObjectManager List of all members.

Public Member Functions

Serializable readObject (String name) throws IOException
 Assumes that name is "$".

Serializable readObject (String uniqueID, String className) throws IOException
 Read a Serializable with uniqueID and className as given.

Streamable readObject (IStream s, String name) throws IOException
 A simple implementation that calss readClassName to get the className from the IStream then forwards to readObject(IStream s, String name, String className);.

Streamable readObject (IStream s, String name, String className) throws IOException
 Uses createObject to create a Streamable and read it in from the Stream.

void writeObject (OStream s, String name, Streamable object, boolean writeClassName) throws IOException
 A simple implementation - if writeClassName, calls writeClassName to write the className then class object.write(OStream s, this).

Name writeObject (Serializable object) throws IOException
 Break the return contract!

Streamable readStreamable () throws IOException
void writeStreamable (Streamable object) throws IOException

Detailed Description

Extends AbstractObjectManager to get the createObject method.

Should be used first to write then to read the same object

Author:
Matthew Palmer


Member Function Documentation

Serializable Sct.TestFramework.TestObjectManager.readObject String    uniqueID,
String    className
throws IOException
 

Read a Serializable with uniqueID and className as given.

Exceptions:
IOException if a problem occurs during IO

Implements Sct.ObjectManager.

Serializable Sct.TestFramework.TestObjectManager.readObject String    name throws IOException
 

Assumes that name is "$".

Then calls readObject(uniqueID, className)

Implements Sct.ObjectManager.


The documentation for this class was generated from the following file:
Generated on Mon Dec 15 19:38:53 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3