diff Core/DicomFormat/DicomMap.h @ 1331:77e129ba64e4

Prevent freeze on C-FIND if no DICOM tag is to be returned
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 12 Mar 2015 10:47:32 +0100
parents 61ce8147f30d
children 0649c5aef34a
line wrap: on
line diff
--- a/Core/DicomFormat/DicomMap.h	Wed Mar 11 16:57:01 2015 +0100
+++ b/Core/DicomFormat/DicomMap.h	Thu Mar 12 10:47:32 2015 +0100
@@ -77,6 +77,11 @@
     {
       Clear();
     }
+
+    size_t GetSize() const
+    {
+      return map_.size();
+    }
     
     DicomMap* Clone() const;