diff OrthancServer/ToDcmtkBridge.h @ 1982:b5d4f9c156ad

Modification of instances can now replace PixelData
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 22 Apr 2016 10:28:55 +0200
parents b1291df2f780
children 6301bbcbcaed
line wrap: on
line diff
--- a/OrthancServer/ToDcmtkBridge.h	Fri Apr 22 09:05:06 2016 +0200
+++ b/OrthancServer/ToDcmtkBridge.h	Fri Apr 22 10:28:55 2016 +0200
@@ -40,7 +40,10 @@
   class ToDcmtkBridge
   {
   public:
-    static DcmTagKey Convert(const DicomTag& tag);
+    static DcmTagKey Convert(const DicomTag& tag)
+    {
+      return DcmTagKey(tag.GetGroup(), tag.GetElement());
+    }
 
     static DcmDataset* Convert(const DicomMap& map);
   };