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

NPtGainTestResultStreamer.h

Go to the documentation of this file.
00001 #ifndef SCTDATA_IO_NPTGAINTESTRESULTSTREAMER_H
00002 #define SCTDATA_IO_NPTGAINTESTRESULTSTREAMER_H
00003 
00004 #include "TestResultStreamer.h"
00005 
00006 namespace SctData {
00007 class NPtGainTestResult;
00008 class NPtGainTestResultData;
00009 }
00010 
00011 using namespace SctData;
00012 
00013 namespace SctData {
00014 namespace IO {
00015 
00016 
00022 class NPtGainTestResultStreamer : public TestResultStreamer {
00023 public:
00024     //Streamer overrides
00025     virtual void write(OStream& out, const Streamable& ob, const IOManager& manager) const throw(LogicError, IoError);
00026     virtual shared_ptr<Streamable> read(IStream& in, const IOManager& manager) const throw(LogicError, IoError);
00027     virtual void read(IStream& in, Streamable& ob, const IOManager& manager) const throw(LogicError, IoError);
00028 
00029 private:
00030     void writeData(OStream& out, const NPtGainTestResultData& ob, const IOManager& manager) const throw(Sct::LogicError, Sct::IoError);
00031     void readData(IStream& in, NPtGainTestResult& mytest, NPtGainTestResultData& ob, const IOManager& manager) const throw(Sct::LogicError, Sct::IoError);
00032 
00033     NPtGainTestResultStreamer() throw();    
00034     static bool inMap;              
00035 };
00036 }
00037 }
00038 #endif // #ifndef SCTDATA_IO_NPTGAINTESTRESULTSTREAMER_H

Generated on Mon Dec 15 19:36:09 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3