Mercurial > hg > orthanc
comparison OrthancServer/DicomInstanceToStore.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 |
---|---|
209 } | 209 } |
210 else | 210 else |
211 { | 211 { |
212 parsed_.TakeOwnership(new ParsedDicomFile(summary_.GetConstContent(), | 212 parsed_.TakeOwnership(new ParsedDicomFile(summary_.GetConstContent(), |
213 GetDefaultDicomEncoding(), | 213 GetDefaultDicomEncoding(), |
214 false /* be strict */, | 214 false /* be strict */)); |
215 "" /* no private creator */)); | |
216 } | 215 } |
217 } | 216 } |
218 | 217 |
219 // Serialize the parsed DICOM file | 218 // Serialize the parsed DICOM file |
220 ownBuffer_.reset(new std::string); | 219 ownBuffer_.reset(new std::string); |