diff OrthancServer/FromDcmtkBridge.h @ 956:2fd5a163776d

primitives for proper encoding handling
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 25 Jun 2014 16:08:47 +0200
parents 87791ebc1f50
children 2f76b92addd4
line wrap: on
line diff
--- a/OrthancServer/FromDcmtkBridge.h	Wed Jun 25 15:32:02 2014 +0200
+++ b/OrthancServer/FromDcmtkBridge.h	Wed Jun 25 16:08:47 2014 +0200
@@ -44,11 +44,14 @@
   class FromDcmtkBridge
   {
   public:
+    static Encoding DetectEncoding(DcmDataset& dataset);
+
     static void Convert(DicomMap& target, DcmDataset& dataset);
 
     static DicomTag GetTag(const DcmElement& element);
 
-    static DicomValue* ConvertLeafElement(DcmElement& element);
+    static DicomValue* ConvertLeafElement(DcmElement& element,
+                                          Encoding encoding);
 
     static void ToJson(Json::Value& target, 
                        DcmDataset& dataset,