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

SctData::IO::MarkSpaceRatioTestResultStreamer_v1 Class Reference

This class allows publishing and refreshing of MarkSpaceRatioTestResult objects. More...

#include <MarkSpaceRatioTestResultStreamer_v1.h>

Inheritance diagram for SctData::IO::MarkSpaceRatioTestResultStreamer_v1:

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

Collaboration graph
[legend]

Public Member Functions

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

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

virtual void read (IStream &in, Streamable &ob, const IOManager &manager) const throw (LogicError, IoError)
 Refreshes ob from in.

virtual unsigned getVersion () const throw ()

Static Private Attributes

unsigned s_version
bool inMap

Detailed Description

This class allows publishing and refreshing of MarkSpaceRatioTestResult objects.

Definition at line 13 of file MarkSpaceRatioTestResultStreamer_v1.h.


Member Function Documentation

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

Refreshes ob from in.

Parameters:
in The IStream
ob The Streamable object to be refreshed.
manager the IOManager to use
Exceptions:
IoException if something bad happens

Implements Sct::Streamer.

Definition at line 35 of file MarkSpaceRatioTestResultStreamer_v1.cpp.

References SctData::MarkSpaceRatioTestResult::addPoint(), Sct::IoError, SctData::MarkSpaceRatioTestResult::MsrPoint::msr, SctData::MarkSpaceRatioTestResult::MsrPoint::occ0, SctData::MarkSpaceRatioTestResult::MsrPoint::occ0flip, SctData::MarkSpaceRatioTestResult::MsrPoint::occ1, SctData::MarkSpaceRatioTestResult::MsrPoint::occ1flip, and SctData::MarkSpaceRatioTestResult::setOptimum().

Here is the call graph for this function:

shared_ptr< Streamable > SctData::IO::MarkSpaceRatioTestResultStreamer_v1::read IStream in,
const IOManager manager
const throw (LogicError, IoError) [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 15 of file MarkSpaceRatioTestResultStreamer_v1.cpp.

References Sct::IoError.

void SctData::IO::MarkSpaceRatioTestResultStreamer_v1::write OStream out,
const Streamable ob,
const IOManager manager
const throw (LogicError, IoError) [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 21 of file MarkSpaceRatioTestResultStreamer_v1.cpp.

References SctData::MarkSpaceRatioTestResult::getNPoints(), SctData::MarkSpaceRatioTestResult::getOptimum(), SctData::MarkSpaceRatioTestResult::getPoint(), Sct::IoError, SctData::MarkSpaceRatioTestResult::MsrPoint::msr, SctData::MarkSpaceRatioTestResult::MsrPoint::occ0, SctData::MarkSpaceRatioTestResult::MsrPoint::occ0flip, SctData::MarkSpaceRatioTestResult::MsrPoint::occ1, and SctData::MarkSpaceRatioTestResult::MsrPoint::occ1flip.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Fri Sep 16 18:04:11 2005 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5