Mercurial > hg > orthanc
comparison OrthancServer/ServerJobs/Operations/SystemCallOperation.cpp @ 2651:1da5a052c777 jobs
testing value serialization
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 04 Jun 2018 11:53:12 +0200 |
parents | 3ce8863398ab |
children | 761031029aa9 |
comparison
equal
deleted
inserted
replaced
2650:5f2dd8b6ee2f | 2651:1da5a052c777 |
---|---|
59 { | 59 { |
60 const DicomInstanceOperationValue& instance = | 60 const DicomInstanceOperationValue& instance = |
61 dynamic_cast<const DicomInstanceOperationValue&>(input); | 61 dynamic_cast<const DicomInstanceOperationValue&>(input); |
62 | 62 |
63 std::string dicom; | 63 std::string dicom; |
64 instance.ReadContent(dicom); | 64 instance.ReadDicom(dicom); |
65 | 65 |
66 tmp.reset(new TemporaryFile); | 66 tmp.reset(new TemporaryFile); |
67 tmp->Write(dicom); | 67 tmp->Write(dicom); |
68 | 68 |
69 arguments.push_back(tmp->GetPath()); | 69 arguments.push_back(tmp->GetPath()); |