# HG changeset patch # User Sebastien Jodogne # Date 1443612961 -7200 # Node ID 09be34b2f30e3ba1fd3cc81053bffacc85c8e07a # Parent 87a606265de826f6a285f7d8f1b5eb453511ce9e ParsedDicomFile::Convert() diff -r 87a606265de8 -r 09be34b2f30e OrthancServer/ParsedDicomFile.cpp --- 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()); + } } diff -r 87a606265de8 -r 09be34b2f30e OrthancServer/ParsedDicomFile.h --- 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); }; }