comparison Core/DicomFormat/DicomInstanceHasher.h @ 315:fc856d175d18

modifications
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 21 Dec 2012 17:18:04 +0100
parents 78e28d0098d9
children bdd72233b105
comparison
equal deleted inserted replaced
314:4f17834a50b6 315:fc856d175d18
57 std::string patientHash_; 57 std::string patientHash_;
58 std::string studyHash_; 58 std::string studyHash_;
59 std::string seriesHash_; 59 std::string seriesHash_;
60 std::string instanceHash_; 60 std::string instanceHash_;
61 61
62 void Setup(const std::string& patientId,
63 const std::string& studyUid,
64 const std::string& seriesUid,
65 const std::string& instanceUid);
66
62 public: 67 public:
63 DicomInstanceHasher(const DicomMap& instance); 68 DicomInstanceHasher(const DicomMap& instance);
69
70 DicomInstanceHasher(const std::string& patientId,
71 const std::string& studyUid,
72 const std::string& seriesUid,
73 const std::string& instanceUid)
74 {
75 Setup(patientId, studyUid, seriesUid, instanceUid);
76 }
64 77
65 const std::string& GetPatientId() const 78 const std::string& GetPatientId() const
66 { 79 {
67 return patientId_; 80 return patientId_;
68 } 81 }