comparison OrthancFramework/Sources/DicomFormat/DicomPath.cpp @ 4685:693f049729ba

New versions of Keep(), Remove() and Replace() in DicomModification that use DicomPath
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 08 Jun 2021 18:28:57 +0200
parents 7182f5732480
children ead3b81f4541
comparison
equal deleted inserted replaced
4684:e3810750dc9d 4685:693f049729ba
152 } 152 }
153 else 153 else
154 { 154 {
155 prefix_.reserve(parentTags.size()); 155 prefix_.reserve(parentTags.size());
156 156
157 for (size_t i = 0; i < prefix_.size(); i++) 157 for (size_t i = 0; i < parentTags.size(); i++)
158 { 158 {
159 prefix_.push_back(PrefixItem::CreateIndexed(parentTags[i], parentIndexes[i])); 159 prefix_.push_back(PrefixItem::CreateIndexed(parentTags[i], parentIndexes[i]));
160 } 160 }
161 } 161 }
162 } 162 }