Mercurial > hg > orthanc
diff OrthancServer/Sources/Database/FindRequest.h @ 5677:dc96401dbe88 find-refactoring
starting the refactoring of /tools/find
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 08 Jul 2024 19:03:23 +0200 |
parents | b744a2cf408a |
children | 77875b51cf95 |
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/FindRequest.h Sat Jul 06 15:04:28 2024 +0200 +++ b/OrthancServer/Sources/Database/FindRequest.h Mon Jul 08 19:03:23 2024 +0200 @@ -255,7 +255,7 @@ uint64_t limitsSince_; uint64_t limitsCount_; std::set<std::string> labels_; - LabelsConstraint labelsContraint_; + LabelsConstraint labelsConstraint_; std::deque<Ordering*> ordering_; // The ordering criteria (note: the order is important !) bool retrieveMainDicomTags_; @@ -346,7 +346,12 @@ LabelsConstraint GetLabelsConstraint() const { - return labelsContraint_; + return labelsConstraint_; + } + + void SetLabelsConstraint(LabelsConstraint constraint) + { + labelsConstraint_ = constraint; } void SetRetrieveMainDicomTags(bool retrieve)