diff OrthancServer/ServerIndex.h @ 3025:039a9d262d64 db-changes

preparing to speed up find in databases
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 17 Dec 2018 17:05:28 +0100
parents d207f6ac1f86
children fd587cf51a89
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.h	Mon Dec 17 10:26:01 2018 +0100
+++ b/OrthancServer/ServerIndex.h	Mon Dec 17 17:05:28 2018 +0100
@@ -292,5 +292,16 @@
                       ResourceType parentType);
 
     void ReconstructInstance(ParsedDicomFile& dicom);
+
+    void ApplyLookupPatients(std::vector<std::string>& patientsId,
+                             std::vector<std::string>& instancesId,
+                             const DatabaseLookup& lookup,
+                             size_t limit);
+
+    void ApplyLookupResources(std::vector<std::string>& resourcesId,
+                              std::vector<std::string>& instancesId,
+                              const DatabaseLookup& lookup,
+                              ResourceType queryLevel,
+                              size_t limit);
   };
 }