Mercurial > hg > orthanc
comparison OrthancServer/DicomProtocol/RemoteModalityParameters.h @ 812:8a36c947490c
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 08 May 2014 14:51:49 +0200 |
parents | 566a2fb3c1fb |
children | 6e7e5ed91c2d |
comparison
equal
deleted
inserted
replaced
811:78b9f64b6b7b | 812:8a36c947490c |
---|---|
42 class RemoteModalityParameters | 42 class RemoteModalityParameters |
43 { | 43 { |
44 // TODO Use the flyweight pattern for this class | 44 // TODO Use the flyweight pattern for this class |
45 | 45 |
46 private: | 46 private: |
47 std::string name_; | |
48 std::string aet_; | 47 std::string aet_; |
49 std::string host_; | 48 std::string host_; |
50 int port_; | 49 int port_; |
51 ModalityManufacturer manufacturer_; | 50 ModalityManufacturer manufacturer_; |
52 | 51 |
53 public: | 52 public: |
54 RemoteModalityParameters(); | 53 RemoteModalityParameters(); |
55 | |
56 const std::string& GetName() const | |
57 { | |
58 return name_; | |
59 } | |
60 | |
61 void SetName(const std::string& name) | |
62 { | |
63 name_ = name; | |
64 } | |
65 | 54 |
66 const std::string& GetApplicationEntityTitle() const | 55 const std::string& GetApplicationEntityTitle() const |
67 { | 56 { |
68 return aet_; | 57 return aet_; |
69 } | 58 } |