Mercurial > hg > orthanc
diff OrthancServer/Search/IFindConstraint.h @ 1756:03b030680e3d db-changes
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 28 Oct 2015 12:14:06 +0100 |
parents | 55d52567bebb |
children | 91a5d39ec665 |
line wrap: on
line diff
--- a/OrthancServer/Search/IFindConstraint.h Wed Oct 28 12:02:15 2015 +0100 +++ b/OrthancServer/Search/IFindConstraint.h Wed Oct 28 12:14:06 2015 +0100 @@ -38,26 +38,15 @@ { class IFindConstraint : public boost::noncopyable { - private: - DicomTag tag_; - public: - IFindConstraint(const DicomTag& tag) : tag_(tag) - { - } - virtual ~IFindConstraint() { } - const DicomTag& GetTag() const - { - return tag_; - } - virtual IFindConstraint* Clone() const = 0; - virtual void Setup(LookupIdentifierQuery& lookup) const = 0; + virtual void Setup(LookupIdentifierQuery& lookup, + const DicomTag& tag) const = 0; virtual bool Match(const std::string& value) const = 0; };