Mercurial > hg > orthanc
comparison Core/DicomParsing/MemoryBufferTranscoder.h @ 3907:1555feda39e2 transcoding
substituting IDicomTranscoder::TranscodeToParsed() by refactored implementation
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 08 May 2020 11:24:34 +0200 |
parents | f0dd5ded8927 |
children | 89ebb37cee6a |
comparison
equal
deleted
inserted
replaced
3906:f0dd5ded8927 | 3907:1555feda39e2 |
---|---|
82 const void* buffer, | 82 const void* buffer, |
83 size_t size, | 83 size_t size, |
84 const std::set<DicomTransferSyntax>& allowedSyntaxes, | 84 const std::set<DicomTransferSyntax>& allowedSyntaxes, |
85 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; | 85 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; |
86 | 86 |
87 virtual DcmFileFormat* TranscodeToParsed(bool& hasSopInstanceUidChanged /* out */, | |
88 const void* buffer, | |
89 size_t size, | |
90 const std::set<DicomTransferSyntax>& allowedSyntaxes, | |
91 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; | |
92 | |
93 virtual bool HasInplaceTranscode( | 87 virtual bool HasInplaceTranscode( |
94 DicomTransferSyntax inputSyntax, | 88 DicomTransferSyntax inputSyntax, |
95 const std::set<DicomTransferSyntax>& outputSyntaxes) const ORTHANC_OVERRIDE; | 89 const std::set<DicomTransferSyntax>& outputSyntaxes) const ORTHANC_OVERRIDE; |
96 | 90 |
97 virtual bool InplaceTranscode(bool& hasSopInstanceUidChanged /* out */, | 91 virtual bool InplaceTranscode(bool& hasSopInstanceUidChanged /* out */, |
107 bool& hasSopInstanceUidChanged /* out */, | 101 bool& hasSopInstanceUidChanged /* out */, |
108 DcmFileFormat& dicom /* in, possibly modified */, | 102 DcmFileFormat& dicom /* in, possibly modified */, |
109 const std::set<DicomTransferSyntax>& allowedSyntaxes, | 103 const std::set<DicomTransferSyntax>& allowedSyntaxes, |
110 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; | 104 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; |
111 | 105 |
112 virtual TranscodedDicom* TranscodeToParsed2( | 106 virtual TranscodedDicom* TranscodeToParsed( |
113 DcmFileFormat& dicom /* in, possibly modified */, | 107 DcmFileFormat& dicom /* in, possibly modified */, |
114 const void* buffer /* in, same DICOM file as "dicom" */, | 108 const void* buffer /* in, same DICOM file as "dicom" */, |
115 size_t size, | 109 size_t size, |
116 const std::set<DicomTransferSyntax>& allowedSyntaxes, | 110 const std::set<DicomTransferSyntax>& allowedSyntaxes, |
117 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; | 111 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; |