Mercurial > hg > orthanc
diff Core/DicomNetworking/DicomStoreUserConnection.cpp @ 3874:2effa961f67f transcoding
forcing use of DicomAssociationParameters if creating an SCU
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 30 Apr 2020 15:00:20 +0200 |
parents | d5be23fc0106 |
children | ea1d32861cfc |
line wrap: on
line diff
--- a/Core/DicomNetworking/DicomStoreUserConnection.cpp Thu Apr 30 14:49:35 2020 +0200 +++ b/Core/DicomNetworking/DicomStoreUserConnection.cpp Thu Apr 30 15:00:20 2020 +0200 @@ -139,29 +139,14 @@ } - void DicomStoreUserConnection::Setup() - { - association_.reset(new DicomAssociation); - proposeCommonClasses_ = true; - proposeUncompressedSyntaxes_ = true; - proposeRetiredBigEndian_ = false; - } - - - DicomStoreUserConnection::DicomStoreUserConnection( - const std::string& localAet, - const RemoteModalityParameters& remote) : - parameters_(localAet, remote) - { - Setup(); - } - - DicomStoreUserConnection::DicomStoreUserConnection( const DicomAssociationParameters& params) : - parameters_(params) + parameters_(params), + association_(new DicomAssociation), + proposeCommonClasses_(true), + proposeUncompressedSyntaxes_(true), + proposeRetiredBigEndian_(false) { - Setup(); }