00001 #ifndef SCTDATA_IO_MODULEDEFECTLISTIS_H
00002 #define SCTDATA_IO_MODULEDEFECTLISTIS_H
00003
00004 #include "Sct/Exception.h"
00005 #include "Sct/Streamable.h"
00006 #include "Sct/Streamer.h"
00007 #include "../ModuleDefectIOHelper.h"
00008
00009 using namespace Sct;
00010
00011 namespace SctData {
00012 namespace IO {
00013
00017 class ModuleDefectListStreamer : public virtual Streamer {
00018 public:
00019
00020 virtual void write(OStream& out, const Streamable& ob, const IOManager& manager) const throw(LogicError, IoError);
00021 virtual shared_ptr<Streamable> read(IStream& in, const IOManager& manager) const throw(LogicError, IoError);
00022 virtual void read(IStream& in, Streamable& ob, const IOManager& manager) const throw(LogicError, IoError);
00023
00024 private:
00025 ModuleDefectIOHelper helper;
00026 ModuleDefectListStreamer() throw();
00027 static bool inMap;
00028 };
00029
00030 }
00031 }
00032 #endif //#ifndef SCTDATA_IO_MODULEDEFECTLISTIS_H