comparison Framework/Oracle/ParseDicomFileCommand.cpp @ 1135:a0a33e5ea5bb broker

IOracleCommand::Clone()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 06 Nov 2019 17:34:58 +0100
parents 87fbeb823375
children
comparison
equal deleted inserted replaced
1134:87fbeb823375 1135:a0a33e5ea5bb
25 25
26 #include <boost/filesystem/path.hpp> 26 #include <boost/filesystem/path.hpp>
27 27
28 namespace OrthancStone 28 namespace OrthancStone
29 { 29 {
30 ParseDicomFileCommand::SuccessMessage::SuccessMessage(ParseDicomFileCommand& command, 30 ParseDicomFileCommand::SuccessMessage::SuccessMessage(const ParseDicomFileCommand& command,
31 Orthanc::ParsedDicomFile& dicom, 31 Orthanc::ParsedDicomFile& dicom,
32 size_t fileSize, 32 size_t fileSize,
33 bool hasPixelData) : 33 bool hasPixelData) :
34 OracleMessageBase(command), 34 OriginMessage(command),
35 dicom_(dicom), 35 dicom_(dicom),
36 fileSize_(fileSize), 36 fileSize_(fileSize),
37 hasPixelData_(hasPixelData) 37 hasPixelData_(hasPixelData)
38 { 38 {
39 if (!dicom.GetTagValue(sopInstanceUid_, Orthanc::DICOM_TAG_SOP_INSTANCE_UID)) 39 if (!dicom.GetTagValue(sopInstanceUid_, Orthanc::DICOM_TAG_SOP_INSTANCE_UID))