diff OrthancServer/Search/DatabaseLookup.h @ 3071:2df061cf2fec db-changes

getting rid of IFindConstraint hierarchy
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 02 Jan 2019 11:26:27 +0100
parents ce272138f15e
children cf91b6f22278
line wrap: on
line diff
--- a/OrthancServer/Search/DatabaseLookup.h	Wed Jan 02 10:13:11 2019 +0100
+++ b/OrthancServer/Search/DatabaseLookup.h	Wed Jan 02 11:26:27 2019 +0100
@@ -35,6 +35,8 @@
 
 #include "DicomTagConstraint.h"
 
+class DcmItem;
+
 namespace Orthanc
 {
   class DatabaseLookup : public boost::noncopyable
@@ -70,6 +72,9 @@
 
     bool IsMatch(const DicomMap& value) const;
 
+    bool IsMatch(DcmItem& item,
+                 Encoding encoding) const;
+
     void AddDicomConstraint(const DicomTag& tag,
                             const std::string& dicomQuery,
                             bool caseSensitivePN,