diff OrthancServer/Sources/ServerContext.h @ 5684:9b3816c21008 find-refactoring

integration mainline->find-refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 09 Jul 2024 11:39:07 +0200
parents 3f13db27b399 0c218d90096e
children d0a264b803f1
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerContext.h	Tue Jul 09 11:17:34 2024 +0200
+++ b/OrthancServer/Sources/ServerContext.h	Tue Jul 09 11:39:07 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,