Mercurial > hg > orthanc
comparison Core/DicomNetworking/DicomControlUserConnection.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 |
---|---|
214 } | 214 } |
215 } | 215 } |
216 } | 216 } |
217 | 217 |
218 return new ParsedDicomFile(*fix, GetDefaultDicomEncoding(), | 218 return new ParsedDicomFile(*fix, GetDefaultDicomEncoding(), |
219 false /* be strict */, "" /* no private creator */); | 219 false /* be strict */); |
220 } | 220 } |
221 | 221 |
222 default: | 222 default: |
223 return new ParsedDicomFile(fields, GetDefaultDicomEncoding(), | 223 return new ParsedDicomFile(fields, GetDefaultDicomEncoding(), |
224 false /* be strict */, "" /* no private creator */); | 224 false /* be strict */); |
225 } | 225 } |
226 } | 226 } |
227 | 227 |
228 | 228 |
229 | 229 |
476 query.reset(ConvertQueryFields(fields, parameters_.GetRemoteModality().GetManufacturer())); | 476 query.reset(ConvertQueryFields(fields, parameters_.GetRemoteModality().GetManufacturer())); |
477 } | 477 } |
478 else | 478 else |
479 { | 479 { |
480 query.reset(new ParsedDicomFile(originalFields, GetDefaultDicomEncoding(), | 480 query.reset(new ParsedDicomFile(originalFields, GetDefaultDicomEncoding(), |
481 false /* be strict */, "" /* no private creator */)); | 481 false /* be strict */)); |
482 } | 482 } |
483 | 483 |
484 DcmDataset* dataset = query->GetDcmtkObject().getDataset(); | 484 DcmDataset* dataset = query->GetDcmtkObject().getDataset(); |
485 | 485 |
486 const char* clevel = NULL; | 486 const char* clevel = NULL; |