ChipCounterTestResultStreamer_v1.cpp

00001 #include "ChipCounterTestResultStreamer_v1.h"
00002 
00003 using namespace Sct;
00004 
00005 namespace SctData {
00006   namespace IO {
00007     
00008     /* READ NOTES ON STREAMERS AND VERSIONS BEFORE EDITING THIS FILE! */
00009     unsigned ChipCounterTestResultStreamer_v1::s_version=1;
00010     
00011     ChipCounterTestResultStreamer_v1::ChipCounterTestResultStreamer_v1() throw() {}
00012     
00013     bool ChipCounterTestResultStreamer_v1::inMap = IOManager::addToMap("SctData::ChipCounterTestResult",  auto_ptr<Streamer>(new ChipCounterTestResultStreamer_v1()));
00014     
00015     shared_ptr<Streamable> ChipCounterTestResultStreamer_v1::read(IStream& in, const IOManager& manager) const throw(LogicError, IoError){
00016       boost::shared_ptr<Streamable> ad (new ChipCounterTestResult());
00017       read(in, *ad, manager);
00018       return ad;
00019     }
00020     
00021     void ChipCounterTestResultStreamer_v1::write(OStream& out, const Streamable& ob, const IOManager& manager) const throw(LogicError, IoError) {
00022       //Let superclass do its work
00023       manager.writeImpl(out, ob, "SctData::TestResult");
00024     }
00025     
00026     void ChipCounterTestResultStreamer_v1::read(IStream& in, Streamable& ob, const IOManager& manager) const throw(LogicError, IoError) {
00027       manager.readImpl(in, ob, "SctData::TestResult");
00028     }       
00029     
00030   }
00031 }

Generated on Mon Feb 6 14:01:17 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6