diff Plugins/Engine/OrthancPluginDatabase.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/Plugins/Engine/OrthancPluginDatabase.h	Mon Dec 17 10:26:01 2018 +0100
+++ b/Plugins/Engine/OrthancPluginDatabase.h	Mon Dec 17 17:05:28 2018 +0100
@@ -270,6 +270,19 @@
     void AnswerReceived(const _OrthancPluginDatabaseAnswer& answer);
 
     virtual bool IsDiskSizeAbove(uint64_t threshold);
+
+    virtual void FindOneChildInstance(std::vector<std::string>& instancesId,
+                                      const std::vector<std::string>& resourcesId,
+                                      ResourceType level);
+
+    virtual void ApplyLookupPatients(std::vector<std::string>& patientsId,
+                                     const DatabaseLookup& lookup,
+                                     size_t limit);
+
+    virtual void ApplyLookupResources(std::vector<std::string>& patientsId,
+                                      const DatabaseLookup& lookup,
+                                      ResourceType queryLevel,
+                                      size_t limit);
   };
 }