Mercurial > hg > orthanc
changeset 4466:2243f1bb909b
ABI compatibility for DicomStoreUserConnection::Transcode()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 21 Jan 2021 17:54:44 +0100 |
parents | fe774d8e904b |
children | c92ec129698a |
files | OrthancFramework/Sources/DicomNetworking/DicomStoreUserConnection.cpp OrthancFramework/Sources/DicomNetworking/DicomStoreUserConnection.h |
diffstat | 2 files changed, 23 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomNetworking/DicomStoreUserConnection.cpp Thu Jan 21 17:08:32 2021 +0100 +++ b/OrthancFramework/Sources/DicomNetworking/DicomStoreUserConnection.cpp Thu Jan 21 17:54:44 2021 +0100 @@ -631,4 +631,18 @@ } } } + + + void DicomStoreUserConnection::Transcode(std::string& sopClassUid /* out */, + std::string& sopInstanceUid /* out */, + IDicomTranscoder& transcoder, + const void* buffer, + size_t size, + bool hasMoveOriginator, + const std::string& moveOriginatorAET, + uint16_t moveOriginatorID) + { + Transcode(sopClassUid, sopInstanceUid, transcoder, buffer, size, DicomTransferSyntax_LittleEndianExplicit, + hasMoveOriginator, moveOriginatorAET, moveOriginatorID); + } }
--- a/OrthancFramework/Sources/DicomNetworking/DicomStoreUserConnection.h Thu Jan 21 17:08:32 2021 +0100 +++ b/OrthancFramework/Sources/DicomNetworking/DicomStoreUserConnection.h Thu Jan 21 17:54:44 2021 +0100 @@ -150,5 +150,14 @@ bool hasMoveOriginator, const std::string& moveOriginatorAET, uint16_t moveOriginatorID); + + void Transcode(std::string& sopClassUid /* out */, + std::string& sopInstanceUid /* out */, + IDicomTranscoder& transcoder, + const void* buffer, + size_t size, + bool hasMoveOriginator, + const std::string& moveOriginatorAET, + uint16_t moveOriginatorID); }; }