Mercurial > hg > orthanc
comparison Core/DicomFormat/DicomMap.h @ 1228:e0f7014d39a4
Instances without PatientID are now allowed
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 21 Nov 2014 09:12:38 +0100 |
parents | f5b0207967bc |
children | 6e7e5ed91c2d |
comparison
equal
deleted
inserted
replaced
1227:7266c37d0354 | 1228:e0f7014d39a4 |
---|---|
123 return GetValue(DicomTag(group, element)); | 123 return GetValue(DicomTag(group, element)); |
124 } | 124 } |
125 | 125 |
126 const DicomValue& GetValue(const DicomTag& tag) const; | 126 const DicomValue& GetValue(const DicomTag& tag) const; |
127 | 127 |
128 // DO NOT delete the returned value! | |
128 const DicomValue* TestAndGetValue(uint16_t group, uint16_t element) const | 129 const DicomValue* TestAndGetValue(uint16_t group, uint16_t element) const |
129 { | 130 { |
130 return TestAndGetValue(DicomTag(group, element)); | 131 return TestAndGetValue(DicomTag(group, element)); |
131 } | 132 } |
132 | 133 |
134 // DO NOT delete the returned value! | |
133 const DicomValue* TestAndGetValue(const DicomTag& tag) const; | 135 const DicomValue* TestAndGetValue(const DicomTag& tag) const; |
134 | 136 |
135 void Remove(const DicomTag& tag); | 137 void Remove(const DicomTag& tag); |
136 | 138 |
137 void ExtractPatientInformation(DicomMap& result) const; | 139 void ExtractPatientInformation(DicomMap& result) const; |