Mercurial > hg > orthanc
diff OrthancServer/Search/ListConstraint.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 |
line wrap: on
line diff
--- a/OrthancServer/Search/ListConstraint.h Wed Oct 28 12:02:15 2015 +0100 +++ b/OrthancServer/Search/ListConstraint.h Wed Oct 28 12:14:06 2015 +0100 @@ -45,16 +45,13 @@ bool isCaseSensitive_; ListConstraint(const ListConstraint& other) : - IFindConstraint(other.GetTag()), allowedValues_(other.allowedValues_), isCaseSensitive_(other.isCaseSensitive_) { } public: - ListConstraint(const DicomTag& tag, - bool isCaseSensitive) : - IFindConstraint(tag), + ListConstraint(bool isCaseSensitive) : isCaseSensitive_(isCaseSensitive) { } @@ -66,7 +63,8 @@ return new ListConstraint(*this); } - virtual void Setup(LookupIdentifierQuery& lookup) const; + virtual void Setup(LookupIdentifierQuery& lookup, + const DicomTag& tag) const; virtual bool Match(const std::string& value) const; };