Mercurial > hg > orthanc
comparison OrthancFramework/Sources/DicomParsing/ParsedDicomFile.cpp @ 4771:9f207131c7f4
added ParsedDicomFile::LookupSubSequence()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 25 Aug 2021 17:20:21 +0200 |
parents | 7182f5732480 |
children | 3b78ba359db3 |
comparison
equal
deleted
inserted
replaced
4770:248408d2b336 | 4771:9f207131c7f4 |
---|---|
1775 FromDcmtkBridge::ClearPath(*GetDcmtkObject().getDataset(), path, onlyIfExists); | 1775 FromDcmtkBridge::ClearPath(*GetDcmtkObject().getDataset(), path, onlyIfExists); |
1776 } | 1776 } |
1777 } | 1777 } |
1778 | 1778 |
1779 | 1779 |
1780 bool ParsedDicomFile::LookupSubSequence(DicomMap& target, | |
1781 const DicomPath& path, | |
1782 size_t sequenceIndex) const | |
1783 { | |
1784 DcmDataset& dataset = *const_cast<ParsedDicomFile&>(*this).GetDcmtkObject().getDataset(); | |
1785 return FromDcmtkBridge::LookupSubSequence(target, dataset, path, sequenceIndex); | |
1786 } | |
1787 | |
1788 | |
1780 #if ORTHANC_BUILDING_FRAMEWORK_LIBRARY == 1 | 1789 #if ORTHANC_BUILDING_FRAMEWORK_LIBRARY == 1 |
1781 // Alias for binary compatibility with Orthanc Framework 1.7.2 => don't use it anymore | 1790 // Alias for binary compatibility with Orthanc Framework 1.7.2 => don't use it anymore |
1782 void ParsedDicomFile::DatasetToJson(Json::Value& target, | 1791 void ParsedDicomFile::DatasetToJson(Json::Value& target, |
1783 DicomToJsonFormat format, | 1792 DicomToJsonFormat format, |
1784 DicomToJsonFlags flags, | 1793 DicomToJsonFlags flags, |