Mercurial > hg > orthanc
comparison Core/DicomNetworking/DicomFindAnswers.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 | 884b55ce01f6 |
children |
comparison
equal
deleted
inserted
replaced
4025:52bc28f8ac8c | 4035:cc6ed76bba27 |
---|---|
120 void DicomFindAnswers::Add(const DicomMap& map) | 120 void DicomFindAnswers::Add(const DicomMap& map) |
121 { | 121 { |
122 // We use the permissive mode to be tolerant wrt. invalid DICOM | 122 // We use the permissive mode to be tolerant wrt. invalid DICOM |
123 // files that contain some tags with out-of-range values (such | 123 // files that contain some tags with out-of-range values (such |
124 // tags are removed from the answers) | 124 // tags are removed from the answers) |
125 AddAnswerInternal(new ParsedDicomFile(map, encoding_, true /* permissive */, | 125 AddAnswerInternal(new ParsedDicomFile(map, encoding_, true /* permissive */)); |
126 "" /* no private creator */)); | 126 //"" /* no private creator */)); |
127 } | 127 } |
128 | 128 |
129 | 129 |
130 void DicomFindAnswers::Add(ParsedDicomFile& dicom) | 130 void DicomFindAnswers::Add(ParsedDicomFile& dicom) |
131 { | 131 { |