comparison OrthancServer/Sources/ServerToolbox.cpp @ 5277:acaea72a3e91 Orthanc-1.12.0

Orthanc-1.12.0
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 14 Apr 2023 17:31:27 +0200
parents 1acd709c8772
children 56cd3444a2d8
comparison
equal deleted inserted replaced
5276:d00064ec4baf 5277:acaea72a3e91
272 272
273 context.GetIndex().ReconstructInstance(locker.GetDicom()); 273 context.GetIndex().ReconstructInstance(locker.GetDicom());
274 274
275 if (reconstructFiles) 275 if (reconstructFiles)
276 { 276 {
277 // preserve metadata from old resource
278 typedef std::map<MetadataType, std::string> InstanceMetadata;
279 InstanceMetadata instanceMetadata;
280
281 std::string resultPublicId; // ignored 277 std::string resultPublicId; // ignored
282 std::unique_ptr<DicomInstanceToStore> dicomInstancetoStore(DicomInstanceToStore::CreateFromParsedDicomFile(locker.GetDicom())); 278 std::unique_ptr<DicomInstanceToStore> dicomInstancetoStore(DicomInstanceToStore::CreateFromParsedDicomFile(locker.GetDicom()));
283 279
284 // TODO: TranscodeAndStore and specifically ServerIndex::Store have been "poluted" by the isReconstruct parameter 280 // TODO: TranscodeAndStore and specifically ServerIndex::Store have been "poluted" by the isReconstruct parameter
285 // we should very likely refactor it 281 // we should very likely refactor it