Mercurial > hg > orthanc
comparison OrthancFramework/Sources/DicomNetworking/IApplicationEntityFilter.h @ 4468:9c070a34de18
IApplicationEntityFilter::GetAcceptedTransferSyntaxes()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 25 Jan 2021 15:18:34 +0100 |
parents | d9473bd5ed43 |
children | 5ffa4e14e4bd |
comparison
equal
deleted
inserted
replaced
4467:c92ec129698a | 4468:9c070a34de18 |
---|---|
20 **/ | 20 **/ |
21 | 21 |
22 | 22 |
23 #pragma once | 23 #pragma once |
24 | 24 |
25 #include "../Compatibility.h" | |
25 #include "../Enumerations.h" | 26 #include "../Enumerations.h" |
26 | 27 |
27 #include <string> | 28 #include <string> |
28 | 29 |
29 namespace Orthanc | 30 namespace Orthanc |
42 virtual bool IsAllowedRequest(const std::string& remoteIp, | 43 virtual bool IsAllowedRequest(const std::string& remoteIp, |
43 const std::string& remoteAet, | 44 const std::string& remoteAet, |
44 const std::string& calledAet, | 45 const std::string& calledAet, |
45 DicomRequestType type) = 0; | 46 DicomRequestType type) = 0; |
46 | 47 |
47 virtual bool IsAllowedTransferSyntax(const std::string& remoteIp, | 48 virtual void GetAcceptedTransferSyntaxes(std::set<DicomTransferSyntax>& target, |
48 const std::string& remoteAet, | 49 const std::string& remoteIp, |
49 const std::string& calledAet, | 50 const std::string& remoteAet, |
50 TransferSyntax syntax) = 0; | 51 const std::string& calledAet) = 0; |
52 | |
53 ORTHANC_DEPRECATED(virtual bool IsAllowedTransferSyntax(const std::string& remoteIp, | |
54 const std::string& remoteAet, | |
55 const std::string& calledAet, | |
56 TransferSyntax syntax)) = 0; | |
51 | 57 |
52 virtual bool IsUnknownSopClassAccepted(const std::string& remoteIp, | 58 virtual bool IsUnknownSopClassAccepted(const std::string& remoteIp, |
53 const std::string& remoteAet, | 59 const std::string& remoteAet, |
54 const std::string& calledAet) = 0; | 60 const std::string& calledAet) = 0; |
55 }; | 61 }; |