Mercurial > hg > orthanc
diff OrthancServer/Search/IFindConstraint.h @ 1749:99f4a05f39fa db-changes
various types of constraints
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 27 Oct 2015 10:54:51 +0100 |
parents | 92203f713205 |
children | 55d52567bebb |
line wrap: on
line diff
--- a/OrthancServer/Search/IFindConstraint.h Mon Oct 26 17:33:55 2015 +0100 +++ b/OrthancServer/Search/IFindConstraint.h Tue Oct 27 10:54:51 2015 +0100 @@ -38,11 +38,23 @@ { class IFindConstraint : public boost::noncopyable { + private: + DicomTag tag_; + public: + IFindConstraint(const DicomTag& tag) : tag_(tag) + { + } + virtual ~IFindConstraint() { } + const DicomTag& GetTag() const + { + return tag_; + } + virtual void Setup(LookupIdentifierQuery& lookup) const = 0; virtual bool Match(const std::string& value) const = 0;