Mercurial > hg > orthanc
comparison Plugins/Engine/OrthancPlugins.h @ 3929:7dc5e7e0045d transcoding
simplifying MemoryBufferTranscoder::Transcode() interface
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 14 May 2020 14:40:13 +0200 |
parents | 4cdc875510d1 |
children | b99acc213937 |
comparison
equal
deleted
inserted
replaced
3928:4cdc875510d1 | 3929:7dc5e7e0045d |
---|---|
236 const void* parameters); | 236 const void* parameters); |
237 | 237 |
238 protected: | 238 protected: |
239 // From "MemoryBufferTranscoder" | 239 // From "MemoryBufferTranscoder" |
240 virtual bool Transcode(std::string& target, | 240 virtual bool Transcode(std::string& target, |
241 DicomTransferSyntax& sourceSyntax /* out */, | |
242 DicomTransferSyntax& targetSyntax /* out */, | |
243 bool& hasSopInstanceUidChanged /* out */, | 241 bool& hasSopInstanceUidChanged /* out */, |
244 const void* buffer, | 242 const void* buffer, |
245 size_t size, | 243 size_t size, |
246 const std::set<DicomTransferSyntax>& allowedSyntaxes, | 244 const std::set<DicomTransferSyntax>& allowedSyntaxes, |
247 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; | 245 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; |