Mercurial > hg > orthanc
comparison OrthancServer/ResourceFinder.cpp @ 1361:94ffb597d297
refactoring of C-Find SCP
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 15 May 2015 17:19:33 +0200 |
parents | 0649c5aef34a |
children | d6971e18a324 |
comparison
equal
deleted
inserted
replaced
1360:0649c5aef34a | 1361:94ffb597d297 |
---|---|
207 it = resources.begin(); it != resources.end(); it++) | 207 it = resources.begin(); it != resources.end(); it++) |
208 { | 208 { |
209 DicomMap mainTags; | 209 DicomMap mainTags; |
210 if (index_.GetMainDicomTags(mainTags, *it, level_)) | 210 if (index_.GetMainDicomTags(mainTags, *it, level_)) |
211 { | 211 { |
212 if (query.FilterMainDicomTags(mainTags, level_)) | 212 if (query.FilterMainDicomTags(*it, level_, mainTags)) |
213 { | 213 { |
214 filtered_.insert(*it); | 214 filtered_.insert(*it); |
215 } | 215 } |
216 } | 216 } |
217 } | 217 } |