diff Plugins/Engine/OrthancPluginDatabase.cpp @ 3029:ea653ec47f31 db-changes

new class: DatabaseConstraint
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 18 Dec 2018 18:56:55 +0100
parents fd587cf51a89
children 18a2d196414b
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPluginDatabase.cpp	Tue Dec 18 12:50:27 2018 +0100
+++ b/Plugins/Engine/OrthancPluginDatabase.cpp	Tue Dec 18 18:56:55 2018 +0100
@@ -1164,7 +1164,7 @@
 
   void OrthancPluginDatabase::ApplyLookupPatients(std::vector<std::string>& patientsId,
                                                   std::vector<std::string>& instancesId,
-                                                  const DatabaseLookup& lookup,
+                                                  const std::vector<DatabaseConstraint>& lookup,
                                                   size_t limit)
   {
     throw OrthancException(ErrorCode_NotImplemented);
@@ -1173,7 +1173,7 @@
 
   void OrthancPluginDatabase::ApplyLookupResources(std::vector<std::string>& patientsId,
                                                    std::vector<std::string>& instancesId,
-                                                   const DatabaseLookup& lookup,
+                                                   const std::vector<DatabaseConstraint>& lookup,
                                                    ResourceType queryLevel,
                                                    size_t limit)
   {