diff Core/DicomParsing/ParsedDicomFile.h @ 2409:e4045b3c9772

ignore-length argument if retrieving DICOM tags
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 27 Sep 2017 17:36:13 +0200
parents 75c779ca948c
children 878b59270859
line wrap: on
line diff
--- a/Core/DicomParsing/ParsedDicomFile.h	Mon Sep 25 14:50:13 2017 +0200
+++ b/Core/DicomParsing/ParsedDicomFile.h	Wed Sep 27 17:36:13 2017 +0200
@@ -182,8 +182,17 @@
                        DicomToJsonFlags flags,
                        unsigned int maxStringLength);
 
+    void DatasetToJson(Json::Value& target, 
+                       DicomToJsonFormat format,
+                       DicomToJsonFlags flags,
+                       unsigned int maxStringLength,
+                       const std::set<DicomTag>& ignoreTagLength);
+      
     // This version uses the default parameters for
     // FileContentType_DicomAsJson
+    void DatasetToJson(Json::Value& target,
+                       const std::set<DicomTag>& ignoreTagLength);
+
     void DatasetToJson(Json::Value& target);
 
     void HeaderToJson(Json::Value& target, 
@@ -208,8 +217,6 @@
 
     void ExtractDicomSummary(DicomMap& target) const;
 
-    void ExtractDicomAsJson(Json::Value& target) const;
-
     bool LookupTransferSyntax(std::string& result);
 
     bool LookupPhotometricInterpretation(PhotometricInterpretation& result) const;