#include <ScanHeaderStreamer.h>
Inheritance diagram for SctData::IO::ScanHeaderStreamer:
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< Streamable > | read (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) |
Private Member Functions | |
ScanHeaderStreamer () throw () | |
Constructor is private. | |
Private Attributes | |
ScanHeaderIOHelper | headerHelper |
The ScanHeader IOHelper. | |
Static Private Attributes | |
bool | inMap |
The static dummy variable for the IOManager map. |
Note that this class handles the reading and writing of ScanTypes itself
Definition at line 23 of file ScanHeaderStreamer.h.
|
Constructor is private.
Definition at line 14 of file ScanHeaderStreamer.cpp. |
|
Should always succeed! Implements Sct::Streamer. Definition at line 32 of file ScanHeaderStreamer.cpp. References Sct::IoError. |
|
Create a new Streamable object of the appropriate type from IS.
Implements Sct::Streamer. Definition at line 18 of file ScanHeaderStreamer.cpp. References Sct::IoError, and Sct::File::read(). |
|
Publishes ob to out.
Implements Sct::Streamer. Definition at line 24 of file ScanHeaderStreamer.cpp. References SctData::ScanHeader::getModuleName(), SctData::ScanHeader::getRunNumber(), SctData::ScanHeader::getScanNumber(), SctData::ScanHeader::getVariable(), and Sct::IoError. |
|
The ScanHeader IOHelper.
Definition at line 31 of file ScanHeaderStreamer.h. |
|
The static dummy variable for the IOManager map.
Definition at line 16 of file ScanHeaderStreamer.cpp. |