Mercurial > hg > orthanc
comparison OrthancServer/Sources/Database/Compatibility/GenericFind.cpp @ 5681:77875b51cf95 find-refactoring
integration mainline->find-refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 09 Jul 2024 10:15:15 +0200 |
parents | dc96401dbe88 |
children | fd4c5e064cbe |
comparison
equal
deleted
inserted
replaced
5679:527918e9c5d9 | 5681:77875b51cf95 |
---|---|
33 { | 33 { |
34 namespace Compatibility | 34 namespace Compatibility |
35 { | 35 { |
36 static bool IsRequestWithoutContraint(const FindRequest& request) | 36 static bool IsRequestWithoutContraint(const FindRequest& request) |
37 { | 37 { |
38 return (request.GetDicomTagConstraintsCount() == 0 && | 38 return (request.GetDicomTagConstraints().IsEmpty() && |
39 request.GetMetadataConstraintsCount() == 0 && | 39 request.GetMetadataConstraintsCount() == 0 && |
40 request.GetLabels().empty() && | 40 request.GetLabels().empty() && |
41 request.GetOrdering().empty()); | 41 request.GetOrdering().empty()); |
42 } | 42 } |
43 | 43 |