diff 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
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/ParsedDicomFile.cpp	Wed Aug 25 15:42:34 2021 +0200
+++ b/OrthancFramework/Sources/DicomParsing/ParsedDicomFile.cpp	Wed Aug 25 17:20:21 2021 +0200
@@ -1777,6 +1777,15 @@
   }
 
 
+  bool ParsedDicomFile::LookupSubSequence(DicomMap& target,
+                                          const DicomPath& path,
+                                          size_t sequenceIndex) const
+  {
+    DcmDataset& dataset = *const_cast<ParsedDicomFile&>(*this).GetDcmtkObject().getDataset();
+    return FromDcmtkBridge::LookupSubSequence(target, dataset, path, sequenceIndex);
+  }
+  
+
 #if ORTHANC_BUILDING_FRAMEWORK_LIBRARY == 1
   // Alias for binary compatibility with Orthanc Framework 1.7.2 => don't use it anymore
   void ParsedDicomFile::DatasetToJson(Json::Value& target,