Mercurial > hg > orthanc
diff OrthancServer/Search/RangeConstraint.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/RangeConstraint.h Wed Oct 28 12:02:15 2015 +0100 +++ b/OrthancServer/Search/RangeConstraint.h Wed Oct 28 12:14:06 2015 +0100 @@ -44,7 +44,6 @@ bool isCaseSensitive_; RangeConstraint(const RangeConstraint& other) : - IFindConstraint(other.GetTag()), lower_(other.lower_), upper_(other.upper_), isCaseSensitive_(other.isCaseSensitive_) @@ -52,8 +51,7 @@ } public: - RangeConstraint(const DicomTag& tag, - const std::string& lower, + RangeConstraint(const std::string& lower, const std::string& upper, bool isCaseSensitive); @@ -62,7 +60,8 @@ return new RangeConstraint(*this); } - virtual void Setup(LookupIdentifierQuery& lookup) const; + virtual void Setup(LookupIdentifierQuery& lookup, + const DicomTag& tag) const; virtual bool Match(const std::string& value) const; };