diff 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
line wrap: on
line diff
--- a/Core/DicomFormat/DicomMap.h	Thu Nov 20 11:58:47 2014 +0100
+++ b/Core/DicomFormat/DicomMap.h	Fri Nov 21 09:12:38 2014 +0100
@@ -125,11 +125,13 @@
 
     const DicomValue& GetValue(const DicomTag& tag) const;
 
+    // DO NOT delete the returned value!
     const DicomValue* TestAndGetValue(uint16_t group, uint16_t element) const
     {
       return TestAndGetValue(DicomTag(group, element));
     }       
 
+    // DO NOT delete the returned value!
     const DicomValue* TestAndGetValue(const DicomTag& tag) const;
 
     void Remove(const DicomTag& tag);