diff Core/DicomFormat/DicomTag.h @ 106:332fec038d52

patch for dcmtk dictionaries
author jodogne
date Wed, 03 Oct 2012 17:53:23 +0200
parents 6212bf978584
children fe180eae201d
line wrap: on
line diff
--- a/Core/DicomFormat/DicomTag.h	Wed Oct 03 17:14:52 2012 +0200
+++ b/Core/DicomFormat/DicomTag.h	Wed Oct 03 17:53:23 2012 +0200
@@ -54,6 +54,16 @@
 
     bool operator< (const DicomTag& other) const;
 
+    bool operator== (const DicomTag& other) const
+    {
+      return group_ == other.group_ && element_ == other.element_;
+    }
+
+    bool operator!= (const DicomTag& other) const
+    {
+      return !(*this == other);
+    }
+
     std::string Format() const;
 
     friend std::ostream& operator<< (std::ostream& o, const DicomTag& tag);
@@ -74,4 +84,6 @@
   static const DicomTag DICOM_TAG_NUMBER_OF_FRAMES(0x0028, 0x0008);
   static const DicomTag DICOM_TAG_CARDIAC_NUMBER_OF_IMAGES(0x0018, 0x1090);
   static const DicomTag DICOM_TAG_IMAGES_IN_ACQUISITION(0x0020, 0x1002);
+
+  static const DicomTag DICOM_TAG_PATIENT_NAME(0x0010, 0x0010);
 }