Mercurial > hg > orthanc
comparison OrthancServer/DicomProtocol/RemoteModalityParameters.h @ 1427:d710ea64f0fd
Custom setting of the local AET during C-Store SCU (both in Lua and in the REST API)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 29 Jun 2015 12:42:54 +0200 |
parents | 6e7e5ed91c2d |
children | 3727a09e7b53 |
comparison
equal
deleted
inserted
replaced
1426:2cf9a12c995a | 1427:d710ea64f0fd |
---|---|
39 | 39 |
40 namespace Orthanc | 40 namespace Orthanc |
41 { | 41 { |
42 class RemoteModalityParameters | 42 class RemoteModalityParameters |
43 { | 43 { |
44 // TODO Use the flyweight pattern for this class | |
45 | |
46 private: | 44 private: |
47 std::string aet_; | 45 std::string aet_; |
48 std::string host_; | 46 std::string host_; |
49 int port_; | 47 int port_; |
50 ModalityManufacturer manufacturer_; | 48 ModalityManufacturer manufacturer_; |
51 | 49 |
52 public: | 50 public: |
53 RemoteModalityParameters(); | 51 RemoteModalityParameters(); |
52 | |
53 RemoteModalityParameters(const std::string& aet, | |
54 const std::string& host, | |
55 int port, | |
56 ModalityManufacturer manufacturer); | |
54 | 57 |
55 const std::string& GetApplicationEntityTitle() const | 58 const std::string& GetApplicationEntityTitle() const |
56 { | 59 { |
57 return aet_; | 60 return aet_; |
58 } | 61 } |