comparison OrthancServer/ServerContext.cpp @ 695:c59bc408fb10

parameter to disable the computation of the MD5
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 05 Feb 2014 13:58:00 +0100
parents 2d0a347e8cfc
children 4c1860179cc5
comparison
equal deleted inserted replaced
694:72dc919a028c 695:c59bc408fb10
267 { 267 {
268 ParsedDicomFile dicom(dicomBuffer, dicomSize); 268 ParsedDicomFile dicom(dicomBuffer, dicomSize);
269 return Store(resultPublicId, dicom.GetDicom(), dicomBuffer, dicomSize); 269 return Store(resultPublicId, dicom.GetDicom(), dicomBuffer, dicomSize);
270 } 270 }
271 271
272 void ServerContext::SetStoreMD5ForAttachments(bool storeMD5)
273 {
274 LOG(INFO) << "Storing MD5 for attachments: " << (storeMD5 ? "yes" : "no");
275 accessor_.SetStoreMD5(storeMD5);
276 }
277
272 } 278 }