Mercurial > hg > orthanc
comparison OrthancServer/Sources/OrthancMoveRequestHandler.h @ 4204:318c16cfccab
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Sep 2020 16:18:01 +0200 |
parents | 05b8fd21089c |
children | d9473bd5ed43 |
comparison
equal
deleted
inserted
replaced
4203:4d42408da117 | 4204:318c16cfccab |
---|---|
30 * along with this program. If not, see <http://www.gnu.org/licenses/>. | 30 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
31 **/ | 31 **/ |
32 | 32 |
33 #pragma once | 33 #pragma once |
34 | 34 |
35 #include "../../OrthancFramework/Sources/Compatibility.h" // For ORTHANC_OVERRIDE | |
35 #include "../../OrthancFramework/Sources/DicomNetworking/IMoveRequestHandler.h" | 36 #include "../../OrthancFramework/Sources/DicomNetworking/IMoveRequestHandler.h" |
36 | 37 |
37 namespace Orthanc | 38 namespace Orthanc |
38 { | 39 { |
39 class ServerContext; | 40 class ServerContext; |
46 bool LookupIdentifiers(std::vector<std::string>& publicIds, | 47 bool LookupIdentifiers(std::vector<std::string>& publicIds, |
47 ResourceType level, | 48 ResourceType level, |
48 const DicomMap& input); | 49 const DicomMap& input); |
49 | 50 |
50 public: | 51 public: |
51 OrthancMoveRequestHandler(ServerContext& context) : | 52 explicit OrthancMoveRequestHandler(ServerContext& context) : |
52 context_(context) | 53 context_(context) |
53 { | 54 { |
54 } | 55 } |
55 | 56 |
56 virtual IMoveRequestIterator* Handle(const std::string& targetAet, | 57 virtual IMoveRequestIterator* Handle(const std::string& targetAet, |
57 const DicomMap& input, | 58 const DicomMap& input, |
58 const std::string& originatorIp, | 59 const std::string& originatorIp, |
59 const std::string& originatorAet, | 60 const std::string& originatorAet, |
60 const std::string& calledAet, | 61 const std::string& calledAet, |
61 uint16_t originatorId); | 62 uint16_t originatorId) ORTHANC_OVERRIDE; |
62 }; | 63 }; |
63 } | 64 } |