diff OrthancServer/ParsedDicomFile.h @ 1693:558b25228a23

creation of tag hierarchy from json
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 08 Oct 2015 13:45:33 +0200
parents 14a32b2fa63e
children 18c02c6987d5
line wrap: on
line diff
--- a/OrthancServer/ParsedDicomFile.h	Thu Oct 08 10:57:29 2015 +0200
+++ b/OrthancServer/ParsedDicomFile.h	Thu Oct 08 13:45:33 2015 +0200
@@ -53,6 +53,10 @@
 
     void RemovePrivateTagsInternal(const std::set<DicomTag>* toKeep);
 
+    void UpdateStorageUid(const DicomTag& tag,
+                          const std::string& value,
+                          bool decodeBinaryTags);
+
   public:
     ParsedDicomFile();  // Create a minimal DICOM instance
 
@@ -77,6 +81,15 @@
     void Insert(const DicomTag& tag,
                 const std::string& value);
 
+    void Insert(const DicomTag& tag,
+                const Json::Value& value,
+                bool decodeBinaryTags);
+
+    void Replace(const DicomTag& tag,
+                 const Json::Value& value,
+                 bool decodeBinaryTags,
+                 DicomReplaceMode mode = DicomReplaceMode_InsertIfAbsent);
+
     void Replace(const DicomTag& tag,
                  const std::string& value,
                  DicomReplaceMode mode = DicomReplaceMode_InsertIfAbsent);