#include <RawScanResultStreamer_v1.h>
Inheritance diagram for SctData::IO::RawScanResultStreamer_v1:
Public Member Functions | |
virtual void | write (OStream &out, const Streamable &ob, const IOManager &manager) const |
Publishes ob to out. | |
virtual shared_ptr< Streamable > | read (IStream &in, const IOManager &manager) const |
Create a new Streamable object of the appropriate type from IS. | |
virtual void | read (IStream &in, Streamable &ob, const IOManager &manager) const |
Refreshes ob from in. | |
virtual unsigned | getVersion () const throw () |
Private Member Functions | |
void | readData (IStream &in, RawScanResult &raw) const |
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 |
Reads in data in Slice format from IS. | |
void | readRootData (unsigned int size, unsigned short width, IStream &in, RawScanResult &raw) const |
Reads in data in ROOT format from IS. | |
void | readRawData (unsigned int size, unsigned short width, IStream &in, RawScanResult &raw) const |
Reads in data in Raw format from IS. | |
void | setHistSize (RawScanResult &raw, unsigned nbinsx, short unsigned ilink) const |
RawScanResultStreamer_v1 () throw () | |
Constructor is private. | |
Private Attributes | |
RawScanResultIOHelper | helper |
The IOHelper. | |
Static Private Attributes | |
unsigned | s_version |
bool | inMap |
The static dummy variable for the IOManager map. |
Definition at line 19 of file RawScanResultStreamer_v1.h.
|
Constructor is private.
Definition at line 26 of file RawScanResultStreamer_v1.cpp. |
|
Refreshes ob from in.
Implements Sct::Streamer. Definition at line 53 of file RawScanResultStreamer_v1.cpp. References helper, readData(), and Sct::IOManager::readImpl(). |
Here is the call graph for this function:
|
Create a new Streamable object of the appropriate type from IS.
Implements Sct::Streamer. Definition at line 30 of file RawScanResultStreamer_v1.cpp. References helper. |
|
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_v1.cpp. References helper, readRawData(), readRootData(), and readSliceData(). Referenced by read(). |
Here is the call graph for this function:
|
Reads in data in Raw format from IS.
Definition at line 141 of file RawScanResultStreamer_v1.cpp. References SctData::ScanPoints::ascending(), Sct::IStream::get(), SctData::ScanPoints::getNPoints(), SctData::ScanResult::getPoints(), and helper. Referenced by readData(). |
Here is the call graph for this function:
|
Reads in data in ROOT format from IS. I.e. same data format as is published by this. Definition at line 113 of file RawScanResultStreamer_v1.cpp. References Sct::IStream::get(), SctData::ScanPoints::getNPoints(), SctData::ScanResult::getPoints(), and helper. Referenced by readData(). |
Here is the call graph for this function:
|
Reads in data in Slice format from IS.
Definition at line 202 of file RawScanResultStreamer_v1.cpp. References SctData::ScanPoints::ascending(), Sct::IStream::get(), SctData::ScanPoints::getNPoints(), SctData::ScanResult::getPoints(), and helper. Referenced by readData(). |
Here is the call graph for this function:
|
Publishes ob to out.
Implements Sct::Streamer. Definition at line 36 of file RawScanResultStreamer_v1.cpp. References helper, Sct::OStream::put(), and Sct::IOManager::writeImpl(). |
Here is the call graph for this function:
|
The IOHelper.
Definition at line 51 of file RawScanResultStreamer_v1.h. Referenced by read(), readData(), readRawData(), readRootData(), readSliceData(), and write(). |
|
The static dummy variable for the IOManager map.
Definition at line 28 of file RawScanResultStreamer_v1.cpp. |