diff OrthancServer/ParsedDicomFile.cpp @ 1699:8ca0e89798b2

"/modify" can insert/modify sequences
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 09 Oct 2015 13:31:22 +0200
parents 18c02c6987d5
children 4aaaecae5803
line wrap: on
line diff
--- a/OrthancServer/ParsedDicomFile.cpp	Fri Oct 09 12:29:21 2015 +0200
+++ b/OrthancServer/ParsedDicomFile.cpp	Fri Oct 09 13:31:22 2015 +0200
@@ -591,15 +591,6 @@
 
 
   void ParsedDicomFile::Insert(const DicomTag& tag,
-                               const std::string& utf8Value)
-  {
-    std::auto_ptr<DcmElement> element(FromDcmtkBridge::CreateElementForTag(tag));
-    FromDcmtkBridge::FillElementWithString(*element, tag, utf8Value, false, GetEncoding());
-    InsertInternal(*pimpl_->file_->getDataset(), element.release());
-  }
-
-
-  void ParsedDicomFile::Insert(const DicomTag& tag,
                                const Json::Value& value,
                                bool decodeBinaryTags)
   {