comparison OrthancServer/OrthancPeerParameters.h @ 812:8a36c947490c

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 08 May 2014 14:51:49 +0200
parents 2d9a000aa3a6
children 6e7e5ed91c2d
comparison
equal deleted inserted replaced
811:78b9f64b6b7b 812:8a36c947490c
38 namespace Orthanc 38 namespace Orthanc
39 { 39 {
40 class OrthancPeerParameters 40 class OrthancPeerParameters
41 { 41 {
42 private: 42 private:
43 std::string name_;
44 std::string url_; 43 std::string url_;
45 std::string username_; 44 std::string username_;
46 std::string password_; 45 std::string password_;
47 46
48 public: 47 public:
49 OrthancPeerParameters(); 48 OrthancPeerParameters();
50
51 const std::string& GetName() const
52 {
53 return name_;
54 }
55
56 void SetName(const std::string& name)
57 {
58 name_ = name;
59 }
60 49
61 const std::string& GetUrl() const 50 const std::string& GetUrl() const
62 { 51 {
63 return url_; 52 return url_;
64 } 53 }