00001 #ifndef SCTDATA_IO_SCANRESULTSTREAMER_H
00002 #define SCTDATA_IO_SCANRESULTSTREAMER_H
00003
00004 #include "Sct/Streamer.h"
00005 #include "../ScanResultIOHelper.h"
00006 #include "Sct/LogicErrors.h"
00007 #include "Sct/IoExceptions.h"
00008
00009 class ISostream;
00010 class ISistream;
00011 class Sct::Streamable;
00012
00013 using namespace std;
00014 using namespace Sct;
00015
00016 namespace SctData {
00017 namespace IO {
00018
00019
00024 class ScanResultStreamer : public virtual Streamer {
00025 protected:
00026 ScanResultStreamer() throw();
00027
00028
00029 virtual void write(OStream& out, const Streamable& ob, const IOManager& manager) const throw(LogicError, IoError);
00030 virtual void read(IStream& in, Streamable& ob, const IOManager& manager) const throw(LogicError, IoError);
00031
00032 private:
00033 ScanResultIOHelper helper;
00034 };
00035 }
00036 }
00037 #endif //#ifndef SCTDATA_IO_SCANRESULTSTREAMER_H