diff OrthancServer/Search/WildcardConstraint.h @ 1751:fb569ee09a69 db-changes

LookupResource complete
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 27 Oct 2015 16:05:42 +0100
parents 99f4a05f39fa
children 03b030680e3d
line wrap: on
line diff
--- a/OrthancServer/Search/WildcardConstraint.h	Tue Oct 27 12:45:50 2015 +0100
+++ b/OrthancServer/Search/WildcardConstraint.h	Tue Oct 27 16:05:42 2015 +0100
@@ -44,11 +44,18 @@
     struct PImpl;
     boost::shared_ptr<PImpl>  pimpl_;
 
+    WildcardConstraint(const WildcardConstraint& other);
+
   public:
     WildcardConstraint(const DicomTag& tag, 
                        const std::string& wildcard,
                        bool isCaseSensitive);
 
+    virtual IFindConstraint* Clone() const
+    {
+      return new WildcardConstraint(*this);
+    }
+
     virtual void Setup(LookupIdentifierQuery& lookup) const;
 
     virtual bool Match(const std::string& value) const;