changeset 1662:09be34b2f30e

ParsedDicomFile::Convert()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 30 Sep 2015 13:36:01 +0200
parents 87a606265de8
children eef32b738656 d7039be97eeb
files OrthancServer/ParsedDicomFile.cpp OrthancServer/ParsedDicomFile.h
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/ParsedDicomFile.cpp	Wed Sep 30 10:03:34 2015 +0200
+++ b/OrthancServer/ParsedDicomFile.cpp	Wed Sep 30 13:36:01 2015 +0200
@@ -1467,4 +1467,10 @@
 
     return true;
   }
+
+
+  void ParsedDicomFile::Convert(DicomMap& tags)
+  {
+    FromDcmtkBridge::Convert(tags, *pimpl_->file_->getDataset());
+  }
 }
--- a/OrthancServer/ParsedDicomFile.h	Wed Sep 30 10:03:34 2015 +0200
+++ b/OrthancServer/ParsedDicomFile.h	Wed Sep 30 13:36:01 2015 +0200
@@ -130,6 +130,8 @@
     void EmbedPdf(const std::string& pdf);
 
     bool ExtractPdf(std::string& pdf);
+
+    void Convert(DicomMap& tags);
   };
 
 }