Mercurial > hg > orthanc
comparison Plugins/Engine/OrthancPlugins.cpp @ 2215:028214a95194
refactoring the worklist sample
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 10 Dec 2016 11:41:17 +0100 |
parents | 7bcff7bb7cbf |
children | 21713ce8717b |
comparison
equal
deleted
inserted
replaced
2214:b1d93286b315 | 2215:028214a95194 |
---|---|
2628 throw OrthancException(ErrorCode_ParameterOutOfRange); | 2628 throw OrthancException(ErrorCode_ParameterOutOfRange); |
2629 } | 2629 } |
2630 else | 2630 else |
2631 { | 2631 { |
2632 ParsedDicomFile query(p.dicom, p.size); | 2632 ParsedDicomFile query(p.dicom, p.size); |
2633 reinterpret_cast<const HierarchicalMatcher*>(p.matcher)->Match(query); | 2633 *p.isMatch = reinterpret_cast<const HierarchicalMatcher*>(p.matcher)->Match(query) ? 1 : 0; |
2634 return true; | 2634 return true; |
2635 } | 2635 } |
2636 } | 2636 } |
2637 | 2637 |
2638 default: | 2638 default: |