Mercurial > hg > orthanc
diff OrthancServer/Sources/Database/FindRequest.h @ 5667:93dff1fccf36 find-refactoring
recursive descent to the children
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 04 Jul 2024 21:31:48 +0200 |
parents | aa231c18b9d2 |
children | bd1352bd9d82 |
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/FindRequest.h Thu Jul 04 18:31:54 2024 +0200 +++ b/OrthancServer/Sources/Database/FindRequest.h Thu Jul 04 21:31:48 2024 +0200 @@ -187,6 +187,11 @@ { return metadata_; } + + bool IsOfInterest() const + { + return (mainDicomTags_ || metadata_); + } }; @@ -194,12 +199,10 @@ { private: bool identifiers_; - bool count_; public: ChildrenRetrieveSpecification() : - identifiers_(false), - count_(false) + identifiers_(false) { } @@ -213,14 +216,9 @@ return identifiers_; } - void SetRetrieveCount(bool retrieve) + bool IsOfInterest() const { - count_ = retrieve; - } - - bool IsRetrieveCount() const - { - return count_; + return identifiers_; } };