Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Related Pages

SctData::IO::TestResultStreamer_v3 Class Reference

Implimentation of the IS publish and refresh methods for the abstract class TestResult. More...

#include <TestResultStreamer_v3.h>

Inheritance diagram for SctData::IO::TestResultStreamer_v3:

Inheritance graph
[legend]
Collaboration diagram for SctData::IO::TestResultStreamer_v3:

Collaboration graph
[legend]

Public Member Functions

virtual unsigned getVersion () const throw ()

Protected Member Functions

virtual void write (OStream &out, const Streamable &ob, const IOManager &manager) const throw (LogicError, IoError)
 Publishes ob to out.

virtual void read (IStream &in, Streamable &ob, const IOManager &manager) const throw (LogicError, IoError)
virtual shared_ptr< Streamableread (IStream &, const IOManager &) const throw (LogicError, IoError)
 Create a new Streamable object of the appropriate type from IS.


Static Protected Attributes

unsigned s_version
bool inMap

Detailed Description

Implimentation of the IS publish and refresh methods for the abstract class TestResult.

The published and refreshed elements are: -> run number -> module name -> the `special' point. -> a list of the scan numbers and the scan `test point' values. -> the defect list.

Doesn't implement createObject.

Definition at line 22 of file TestResultStreamer_v3.h.


Member Function Documentation

shared_ptr< Streamable > SctData::IO::TestResultStreamer_v3::read IStream ,
const IOManager
const throw (LogicError, IoError) [protected, virtual]
 

Create a new Streamable object of the appropriate type from IS.

Parameters:
in The IStream.
manager the IOManager to use
Returns:
a new Streamable object
Exceptions:
IoException if something bad happens

Implements Sct::Streamer.

Definition at line 21 of file TestResultStreamer_v3.cpp.

References Sct::IoError.

void SctData::IO::TestResultStreamer_v3::read IStream in,
Streamable ob,
const IOManager manager
const throw (LogicError, IoError) [protected, virtual]
 

Should always succeed!

Implements Sct::Streamer.

Definition at line 52 of file TestResultStreamer_v3.cpp.

References SctData::TestResult::addComment(), SctData::TestResult::addScan(), SctData::TestResult::getDefects(), SctData::TestResult::getHeader(), Sct::IoError, SctData::TestResult::setDcsData(), SctData::TestResult::setPassed(), SctData::TestResult::setProblem(), and SctData::TestResult::setTestVariable().

Here is the call graph for this function:

void SctData::IO::TestResultStreamer_v3::write OStream out,
const Streamable ob,
const IOManager manager
const throw (LogicError, IoError) [protected, virtual]
 

Publishes ob to out.

Parameters:
out The OStream.
ob The Streamable object to stream.
manager the IOManager to use
Exceptions:
IoException if something bad happens

Implements Sct::Streamer.

Definition at line 25 of file TestResultStreamer_v3.cpp.

References SctData::TestResult::getComments(), SctData::TestResult::getDcsData(), SctData::TestResult::getDefects(), SctData::TestResult::getHeader(), SctData::TestResult::getNScans(), SctData::TestResult::getPassed(), SctData::TestResult::getProblem(), SctData::TestResult::getScanNumberAt(), SctData::TestResult::getTestPointAt(), SctData::TestResult::getTestVariable(), and Sct::IoError.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Thu Jul 15 09:53:34 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5