Mercurial > hg > orthanc
diff OrthancServer/Sources/ServerContext.h @ 5683:0c218d90096e
moved handling of labels out of DatabaseLookup
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 09 Jul 2024 11:33:37 +0200 |
parents | f7adfb22e20e |
children | 9b3816c21008 8bb3f2fca242 |
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerContext.h Tue Jul 09 10:09:57 2024 +0200 +++ b/OrthancServer/Sources/ServerContext.h Tue Jul 09 11:33:37 2024 +0200 @@ -445,9 +445,20 @@ void Apply(ILookupVisitor& visitor, const DatabaseLookup& lookup, ResourceType queryLevel, + const std::set<std::string>& labels, + LabelsConstraint labelsConstraint, size_t since, size_t limit); + void Apply(ILookupVisitor& visitor, + const DatabaseLookup& lookup, + ResourceType queryLevel, + size_t since, + size_t limit) + { + Apply(visitor, lookup, queryLevel, std::set<std::string>(), LabelsConstraint_All, since, limit); + } + bool LookupOrReconstructMetadata(std::string& target, const std::string& publicId, ResourceType level,