Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
1750:55d52567bebb | 1751:fb569ee09a69 |
---|---|
42 { | 42 { |
43 private: | 43 private: |
44 struct PImpl; | 44 struct PImpl; |
45 boost::shared_ptr<PImpl> pimpl_; | 45 boost::shared_ptr<PImpl> pimpl_; |
46 | 46 |
47 WildcardConstraint(const WildcardConstraint& other); | |
48 | |
47 public: | 49 public: |
48 WildcardConstraint(const DicomTag& tag, | 50 WildcardConstraint(const DicomTag& tag, |
49 const std::string& wildcard, | 51 const std::string& wildcard, |
50 bool isCaseSensitive); | 52 bool isCaseSensitive); |
53 | |
54 virtual IFindConstraint* Clone() const | |
55 { | |
56 return new WildcardConstraint(*this); | |
57 } | |
51 | 58 |
52 virtual void Setup(LookupIdentifierQuery& lookup) const; | 59 virtual void Setup(LookupIdentifierQuery& lookup) const; |
53 | 60 |
54 virtual bool Match(const std::string& value) const; | 61 virtual bool Match(const std::string& value) const; |
55 }; | 62 }; |