diff OrthancServer/DatabaseWrapper.h @ 1746:d143db00a794 db-changes

SetOfResources
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 26 Oct 2015 16:04:58 +0100
parents 38dda23c7d7d
children 55d52567bebb
line wrap: on
line diff
--- a/OrthancServer/DatabaseWrapper.h	Mon Oct 26 13:47:50 2015 +0100
+++ b/OrthancServer/DatabaseWrapper.h	Mon Oct 26 16:04:58 2015 +0100
@@ -315,17 +315,13 @@
       return base_.IsExistingResource(internalId);
     }
 
-    virtual void LookupIdentifierExact(std::list<int64_t>& target,
-                                       ResourceType level,
-                                       const DicomTag& tag,
-                                       const std::string& value)
+    virtual void LookupIdentifier(std::list<int64_t>& result,
+                                  ResourceType level,
+                                  const DicomTag& tag,
+                                  IdentifierConstraintType type,
+                                  const std::string& value)
     {
-      base_.LookupIdentifierExact(target, level, tag, value);
-    }
-
-    virtual void LookupIdentifier(const LookupIdentifierQuery& query)
-    {
-      base_.LookupIdentifier(query);
+      base_.LookupIdentifier(result, level, tag, type, value);
     }
 
     virtual void GetAllMetadata(std::map<MetadataType, std::string>& target,