00001 #include "PipelineTestResultStreamer_v1.h"
00002 #include "../PipelineTestResult.h"
00003
00004 using namespace Sct;
00005
00006 namespace SctData {
00007 namespace IO {
00008
00009
00010 unsigned PipelineTestResultStreamer_v1::s_version=1;
00011
00012 PipelineTestResultStreamer_v1::PipelineTestResultStreamer_v1() throw() {}
00013
00014 bool PipelineTestResultStreamer_v1::inMap = IOManager::addToMap("SctData::PipelineTestResult", auto_ptr<Streamer>(new PipelineTestResultStreamer_v1()));
00015
00016 shared_ptr<Streamable> PipelineTestResultStreamer_v1::read(IStream& in, const IOManager& manager) const throw(LogicError, IoError){
00017 shared_ptr<Streamable> ad (new PipelineTestResult());
00018 read(in, *ad, manager);
00019 return ad;
00020 }
00021
00022 void PipelineTestResultStreamer_v1::write(OStream& out, const Streamable& ob, const IOManager& manager) const throw(LogicError, IoError) {
00023
00024 manager.writeImpl(out, ob, "SctData::TestResult");
00025 }
00026
00027 void PipelineTestResultStreamer_v1::read(IStream& in, Streamable& ob, const IOManager& manager) const throw(LogicError, IoError) {
00028 manager.readImpl(in, ob, "SctData::TestResult");
00029 }
00030
00031 }
00032 }