diff Core/DicomParsing/FromDcmtkBridge.h @ 3577:33cfcc74d1b1

argument "ignoreTagLength" to ParsedDicomFile::ExtractDicomSummary()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 19 Nov 2019 17:26:02 +0100
parents 01a5b2530b68
children 94f4a18a79cc
line wrap: on
line diff
--- a/Core/DicomParsing/FromDcmtkBridge.h	Sun Nov 17 17:58:14 2019 +0100
+++ b/Core/DicomParsing/FromDcmtkBridge.h	Tue Nov 19 17:26:02 2019 +0100
@@ -84,7 +84,8 @@
     static void ExtractDicomSummary(DicomMap& target, 
                                     DcmItem& dataset,
                                     unsigned int maxStringLength,
-                                    Encoding defaultEncoding);
+                                    Encoding defaultEncoding,
+                                    const std::set<DicomTag>& ignoreTagLength);
 
     static void DatasetToJson(Json::Value& parent,
                               DcmItem& item,
@@ -245,7 +246,15 @@
 #endif
 
     static void ExtractDicomSummary(DicomMap& target, 
-                                    DcmItem& dataset);
+                                    DcmItem& dataset,
+                                    const std::set<DicomTag>& ignoreTagLength);
+
+    static void ExtractDicomSummary(DicomMap& target, 
+                                    DcmItem& dataset)
+    {
+      std::set<DicomTag> none;
+      ExtractDicomSummary(target, dataset, none);
+    }
 
     static void ExtractDicomAsJson(Json::Value& target, 
                                    DcmDataset& dataset,