comparison Core/DicomParsing/MemoryBufferTranscoder.h @ 3909:6762a97deabc transcoding

removed useless abstraction IDicomTranscoder::TranscodeToBuffer()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 08 May 2020 11:40:12 +0200
parents 89ebb37cee6a
children 1f71c2f20e16
comparison
equal deleted inserted replaced
3908:89ebb37cee6a 3909:6762a97deabc
75 bool IsDcmtkUsed() const 75 bool IsDcmtkUsed() const
76 { 76 {
77 return useDcmtk_; 77 return useDcmtk_;
78 } 78 }
79 79
80 virtual bool TranscodeToBuffer(std::string& target,
81 bool& hasSopInstanceUidChanged /* out */,
82 const void* buffer,
83 size_t size,
84 const std::set<DicomTransferSyntax>& allowedSyntaxes,
85 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE;
86
87 virtual bool TranscodeParsedToBuffer(std::string& target /* out */, 80 virtual bool TranscodeParsedToBuffer(std::string& target /* out */,
88 DicomTransferSyntax& sourceSyntax /* out */, 81 DicomTransferSyntax& sourceSyntax /* out */,
89 DicomTransferSyntax& targetSyntax /* out */, 82 DicomTransferSyntax& targetSyntax /* out */,
90 bool& hasSopInstanceUidChanged /* out */, 83 bool& hasSopInstanceUidChanged /* out */,
91 DcmFileFormat& dicom /* in, possibly modified */, 84 DcmFileFormat& dicom /* in, possibly modified */,