diff Core/DicomFormat/DicomMap.cpp @ 3678:26c6d47467a9

DicomMap::MergeMainDicomTags()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 Feb 2020 20:00:02 +0100
parents 468181e2f090
children 9dac85e807c2 a9ce35d67c3c
line wrap: on
line diff
--- a/Core/DicomFormat/DicomMap.cpp	Wed Feb 19 17:17:27 2020 +0100
+++ b/Core/DicomFormat/DicomMap.cpp	Thu Feb 20 20:00:02 2020 +0100
@@ -1059,8 +1059,8 @@
   }
 
 
-  void DicomMap::ExtractMainDicomTagsInternal(const DicomMap& other,
-                                              ResourceType level)
+  void DicomMap::MergeMainDicomTags(const DicomMap& other,
+                                    ResourceType level)
   {
     const MainDicomTag* tags = NULL;
     size_t size = 0;
@@ -1085,10 +1085,10 @@
   void DicomMap::ExtractMainDicomTags(const DicomMap& other)
   {
     Clear();
-    ExtractMainDicomTagsInternal(other, ResourceType_Patient);
-    ExtractMainDicomTagsInternal(other, ResourceType_Study);
-    ExtractMainDicomTagsInternal(other, ResourceType_Series);
-    ExtractMainDicomTagsInternal(other, ResourceType_Instance);
+    MergeMainDicomTags(other, ResourceType_Patient);
+    MergeMainDicomTags(other, ResourceType_Study);
+    MergeMainDicomTags(other, ResourceType_Series);
+    MergeMainDicomTags(other, ResourceType_Instance);
   }