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

SctData::IO::RawScanResultStreamer Class Reference

This class is an ISSerializer for reading/writing RawScanResults to/from IS. More...

#include <RawScanResultStreamer.h>

Inheritance diagram for SctData::IO::RawScanResultStreamer:

SctData::IO::ScanResultStreamer

Public Member Functions

virtual void write (OStream &out, const Streamable &ob, const IOManager &manager) const throw (LogicError, IoError)
virtual shared_ptr< Streamable > read (IStream &in, const IOManager &manager) const throw (LogicError, IoError)
virtual void read (IStream &in, Streamable &ob, const IOManager &manager) const throw (LogicError, IoError)

Private Member Functions

void readData (IStream &in, RawScanResult &raw) const throw (LogicError, IoError)
 Based on the data type, passes control onto the appropriate function for reading out the data.

void readSliceData (unsigned int size, unsigned short width, IStream &in, RawScanResult &raw) const throw (LogicError, IoError)
 Reads in data in Slice format from IS.

void readRootData (unsigned int size, unsigned short width, IStream &in, RawScanResult &raw) const throw (LogicError, IoError)
 Reads in data in ROOT format from IS.

 RawScanResultStreamer () throw ()
 Constructor is private.


Private Attributes

RawScanResultIOHelper helper
 The IOHelper.


Static Private Attributes

bool inMap
 The static dummy variable for the IOManager map.


Detailed Description

This class is an ISSerializer for reading/writing RawScanResults to/from IS.

Definition at line 19 of file RawScanResultStreamer.h.


Constructor & Destructor Documentation

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

Constructor is private.

Definition at line 20 of file RawScanResultStreamer.cpp.


Member Function Documentation

void SctData::IO::RawScanResultStreamer::readData IStream &    in,
RawScanResult   raw
const throw (LogicError, IoError) [private]
 

Based on the data type, passes control onto the appropriate function for reading out the data.

AJB 02/05/2003

Definition at line 88 of file RawScanResultStreamer.cpp.

References Sct::IoError.

void SctData::IO::RawScanResultStreamer::readRootData unsigned int    size,
unsigned short    width,
IStream &    in,
RawScanResult   raw
const throw (LogicError, IoError) [private]
 

Reads in data in ROOT format from IS.

I.e. same data format as is published by this.

Definition at line 108 of file RawScanResultStreamer.cpp.

References Sct::IoError.

void SctData::IO::RawScanResultStreamer::readSliceData unsigned int    size,
unsigned short    width,
IStream &    in,
RawScanResult   raw
const throw (LogicError, IoError) [private]
 

Reads in data in Slice format from IS.

Definition at line 146 of file RawScanResultStreamer.cpp.

References Sct::IoError.


Field Documentation

RawScanResultIOHelper SctData::IO::RawScanResultStreamer::helper [mutable, private]
 

The IOHelper.

Reimplemented from SctData::IO::ScanResultStreamer.

Definition at line 43 of file RawScanResultStreamer.h.

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

The static dummy variable for the IOManager map.

Definition at line 22 of file RawScanResultStreamer.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Dec 8 18:04:35 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3