diff OrthancServer/IDatabaseWrapper.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/IDatabaseWrapper.h	Mon Oct 26 13:47:50 2015 +0100
+++ b/OrthancServer/IDatabaseWrapper.h	Mon Oct 26 16:04:58 2015 +0100
@@ -44,8 +44,6 @@
 
 namespace Orthanc
 {
-  class LookupIdentifierQuery;
-
   class IDatabaseWrapper : public boost::noncopyable
   {
   public:
@@ -148,12 +146,11 @@
     virtual bool LookupGlobalProperty(std::string& target,
                                       GlobalProperty property) = 0;
 
-    virtual void LookupIdentifierExact(std::list<int64_t>& target,
-                                       ResourceType level,
-                                       const DicomTag& tag,
-                                       const std::string& value) = 0;
-
-    virtual void LookupIdentifier(const LookupIdentifierQuery& query) = 0;
+    virtual void LookupIdentifier(std::list<int64_t>& result,
+                                  ResourceType level,
+                                  const DicomTag& tag,
+                                  IdentifierConstraintType type,
+                                  const std::string& value) = 0;
 
     virtual bool LookupMetadata(std::string& target,
                                 int64_t id,