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

SctData::IO::ScanPointsStreamer Class Reference

This class is an Streamer for reading/writing ScanPointss to/from IS. More...

#include <ScanPointsStreamer.h>

Inheritance diagram for SctData::IO::ScanPointsStreamer:

Sct::Streamer

Public Member Functions

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

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

virtual void read (IStream &in, Streamable &ob, const IOManager &manager) const throw (Sct::LogicError, Sct::IoError)

Private Member Functions

 ScanPointsStreamer () throw ()
 Constructor is private.


Static Private Attributes

bool inMap
 The static dummy variable for the ISManager map.


Detailed Description

This class is an Streamer for reading/writing ScanPointss to/from IS.

Definition at line 20 of file ScanPointsStreamer.h.


Constructor & Destructor Documentation

SctData::IO::ScanPointsStreamer::ScanPointsStreamer   throw () [private]
 

Constructor is private.

Definition at line 12 of file ScanPointsStreamer.cpp.


Member Function Documentation

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

Todo:
Exception here

Exception here

Exception here

Implements Sct::Streamer.

Definition at line 45 of file ScanPointsStreamer.cpp.

References SctData::ScanPoints::addPoint().

shared_ptr< Streamable > SctData::IO::ScanPointsStreamer::read IStream &    in,
const IOManager &    manager
const throw (Sct::LogicError, Sct::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 17 of file ScanPointsStreamer.cpp.

References Sct::File::read().

void SctData::IO::ScanPointsStreamer::write OStream &    out,
const Streamable &    ob,
const IOManager &    manager
const throw (Sct::LogicError, Sct::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 23 of file ScanPointsStreamer.cpp.

References SctData::ScanPoints::getNEvents(), and SctData::ScanPoints::getNPoints().


Field Documentation

bool SctData::IO::ScanPointsStreamer::inMap [static, private]
 

The static dummy variable for the ISManager map.

Definition at line 14 of file ScanPointsStreamer.cpp.


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