diff OrthancServer/ParsedDicomFile.h @ 2128:9329ba17a069

Possibility to DELETE "dicom-as-json" attachments to reconstruct them
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 07 Nov 2016 15:13:16 +0100
parents b5d4f9c156ad
children 5a8840920121
line wrap: on
line diff
--- a/OrthancServer/ParsedDicomFile.h	Mon Nov 07 13:59:36 2016 +0100
+++ b/OrthancServer/ParsedDicomFile.h	Mon Nov 07 15:13:16 2016 +0100
@@ -138,10 +138,14 @@
 
     void SetEncoding(Encoding encoding);
 
-    void ToJson(Json::Value& target, 
-                DicomToJsonFormat format,
-                DicomToJsonFlags flags,
-                unsigned int maxStringLength);
+    void DatasetToJson(Json::Value& target, 
+                       DicomToJsonFormat format,
+                       DicomToJsonFlags flags,
+                       unsigned int maxStringLength);
+
+    // This version uses the default parameters for
+    // FileContentType_DicomAsJson
+    void DatasetToJson(Json::Value& target);
 
     void HeaderToJson(Json::Value& target, 
                       DicomToJsonFormat format);