00001 #ifndef SCTDATA_IO_FULLBYPASSTESTRESULTSTREAMER_H
00002 #define SCTDATA_IO_FULLBYPASSTESTRESULTSTREAMER_H
00003
00004 #include "TestResultStreamer.h"
00005 #include "../FullBypassTestResult.h"
00006 #include "Sct/LogicErrors.h"
00007 #include "Sct/IoExceptions.h"
00008
00009 namespace SctData {
00010 namespace IO {
00011
00015 class FullBypassTestResultStreamer : public TestResultStreamer {
00016 public:
00017
00018 virtual void write(OStream& out, const Streamable& ob, const IOManager& manager) const throw(LogicError, IoError);
00019 virtual shared_ptr<Streamable> read(IStream& in, const IOManager& manager) const throw(LogicError, IoError);
00020 virtual void read(IStream& in, Streamable& ob, const IOManager& manager) const throw(LogicError, IoError);
00021 void writeChipResult(OStream& out, const FullBypassTestResult::ChipFBResult&, const IOManager& manager) const throw(LogicError, IoError) ;
00022 void readChipResult(IStream& in, FullBypassTestResult::ChipFBResult&, const IOManager& manager) const throw(LogicError, IoError) ;
00023 private:
00024 FullBypassTestResultStreamer() throw();
00025 static bool inMap;
00026 };
00027 }
00028 }
00029
00030 #endif // #ifndef SCTDATA_IO_FULLBYPASSTESTRESULTSTREAMER_H