Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
1748:92203f713205 | 1749:99f4a05f39fa |
---|---|
36 | 36 |
37 namespace Orthanc | 37 namespace Orthanc |
38 { | 38 { |
39 class IFindConstraint : public boost::noncopyable | 39 class IFindConstraint : public boost::noncopyable |
40 { | 40 { |
41 private: | |
42 DicomTag tag_; | |
43 | |
41 public: | 44 public: |
45 IFindConstraint(const DicomTag& tag) : tag_(tag) | |
46 { | |
47 } | |
48 | |
42 virtual ~IFindConstraint() | 49 virtual ~IFindConstraint() |
43 { | 50 { |
51 } | |
52 | |
53 const DicomTag& GetTag() const | |
54 { | |
55 return tag_; | |
44 } | 56 } |
45 | 57 |
46 virtual void Setup(LookupIdentifierQuery& lookup) const = 0; | 58 virtual void Setup(LookupIdentifierQuery& lookup) const = 0; |
47 | 59 |
48 virtual bool Match(const std::string& value) const = 0; | 60 virtual bool Match(const std::string& value) const = 0; |