Mercurial > hg > orthanc
comparison OrthancServer/Sources/Database/FindRequest.h @ 5692:7c11a71927a9 find-refactoring
improved handling of limits
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 11 Jul 2024 20:20:50 +0200 |
parents | fd4c5e064cbe |
children | f375e9983943 |
comparison
equal
deleted
inserted
replaced
5691:c352d762177c | 5692:7c11a71927a9 |
---|---|
312 size_t GetMetadataConstraintsCount() const | 312 size_t GetMetadataConstraintsCount() const |
313 { | 313 { |
314 return metadataConstraints_.size(); | 314 return metadataConstraints_.size(); |
315 } | 315 } |
316 | 316 |
317 void ClearLimits() | |
318 { | |
319 hasLimits_ = false; | |
320 } | |
321 | |
317 void SetLimits(uint64_t since, | 322 void SetLimits(uint64_t since, |
318 uint64_t count); | 323 uint64_t count); |
319 | 324 |
320 bool HasLimits() const | 325 bool HasLimits() const |
321 { | 326 { |