comparison OrthancServer/Search/WildcardConstraint.h @ 1756:03b030680e3d db-changes

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 28 Oct 2015 12:14:06 +0100
parents fb569ee09a69
children af6840eb23ee
comparison
equal deleted inserted replaced
1755:39c37a994b2f 1756:03b030680e3d
45 boost::shared_ptr<PImpl> pimpl_; 45 boost::shared_ptr<PImpl> pimpl_;
46 46
47 WildcardConstraint(const WildcardConstraint& other); 47 WildcardConstraint(const WildcardConstraint& other);
48 48
49 public: 49 public:
50 WildcardConstraint(const DicomTag& tag, 50 WildcardConstraint(const std::string& wildcard,
51 const std::string& wildcard,
52 bool isCaseSensitive); 51 bool isCaseSensitive);
53 52
54 virtual IFindConstraint* Clone() const 53 virtual IFindConstraint* Clone() const
55 { 54 {
56 return new WildcardConstraint(*this); 55 return new WildcardConstraint(*this);
57 } 56 }
58 57
59 virtual void Setup(LookupIdentifierQuery& lookup) const; 58 virtual void Setup(LookupIdentifierQuery& lookup,
59 const DicomTag& tag) const;
60 60
61 virtual bool Match(const std::string& value) const; 61 virtual bool Match(const std::string& value) const;
62 }; 62 };
63 } 63 }