changeset 1936:dba0db0a94b4

generalization
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 24 Mar 2016 11:57:10 +0100
parents e251606c1433
children 3756bedaaa36
files OrthancServer/FromDcmtkBridge.cpp OrthancServer/FromDcmtkBridge.h
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/FromDcmtkBridge.cpp	Thu Mar 24 11:46:41 2016 +0100
+++ b/OrthancServer/FromDcmtkBridge.cpp	Thu Mar 24 11:57:10 2016 +0100
@@ -276,7 +276,7 @@
   }
 
 
-  Encoding FromDcmtkBridge::DetectEncoding(DcmDataset& dataset,
+  Encoding FromDcmtkBridge::DetectEncoding(DcmItem& dataset,
                                            Encoding defaultEncoding)
   {
     Encoding encoding = defaultEncoding;
@@ -311,7 +311,7 @@
 
 
   void FromDcmtkBridge::Convert(DicomMap& target, 
-                                DcmDataset& dataset,
+                                DcmItem& dataset,
                                 unsigned int maxStringLength,
                                 Encoding defaultEncoding)
   {
--- a/OrthancServer/FromDcmtkBridge.h	Thu Mar 24 11:46:41 2016 +0100
+++ b/OrthancServer/FromDcmtkBridge.h	Thu Mar 24 11:57:10 2016 +0100
@@ -55,11 +55,11 @@
                                       unsigned int minMultiplicity,
                                       unsigned int maxMultiplicity);
 
-    static Encoding DetectEncoding(DcmDataset & dataset,
+    static Encoding DetectEncoding(DcmItem& dataset,
                                    Encoding defaultEncoding);
 
     static void Convert(DicomMap& target, 
-                        DcmDataset& dataset,
+                        DcmItem& dataset,
                         unsigned int maxStringLength,
                         Encoding defaultEncoding);