comparison OrthancServer/OrthancFindRequestHandler.cpp @ 4035:cc6ed76bba27

added contextual privateCreators dico to ParsedDicomFile -> this allows you not to have to define a DefaultPrivateCreator. This was tested only in the scope of C-Find requests but should not have impact on other parts since it is not used out of C-Find right now
author Alain Mazy <alain@mazy.be>
date Wed, 10 Jun 2020 10:28:01 +0200
parents 320cde762fd9
children c6e82885f570
comparison
equal deleted inserted replaced
4025:52bc28f8ac8c 4035:cc6ed76bba27
372 answers.Add(result); 372 answers.Add(result);
373 } 373 }
374 else 374 else
375 { 375 {
376 ParsedDicomFile dicom(result, GetDefaultDicomEncoding(), 376 ParsedDicomFile dicom(result, GetDefaultDicomEncoding(),
377 true /* be permissive, cf. issue #136 */, defaultPrivateCreator); 377 true /* be permissive, cf. issue #136 */, defaultPrivateCreator, privateCreators);
378 378
379 for (std::list<DicomTag>::const_iterator tag = sequencesToReturn.begin(); 379 for (std::list<DicomTag>::const_iterator tag = sequencesToReturn.begin();
380 tag != sequencesToReturn.end(); ++tag) 380 tag != sequencesToReturn.end(); ++tag)
381 { 381 {
382 assert(dicomAsJson != NULL); 382 assert(dicomAsJson != NULL);