Mercurial > hg > orthanc
comparison OrthancServer/Sources/Search/DatabaseLookup.h @ 4196:37310bb1cd30
Fix handling of "ModalitiesInStudy" (0008,0061) in C-FIND and "/tools/find"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 16 Sep 2020 13:22:30 +0200 |
parents | d25f4c0fa160 |
children | d9473bd5ed43 |
comparison
equal
deleted
inserted
replaced
4194:2bc49197f806 | 4196:37310bb1cd30 |
---|---|
48 ValueRepresentation vr, | 48 ValueRepresentation vr, |
49 const std::string& dicomQuery, | 49 const std::string& dicomQuery, |
50 bool caseSensitive, | 50 bool caseSensitive, |
51 bool mandatoryTag); | 51 bool mandatoryTag); |
52 | 52 |
53 void AddConstraint(DicomTagConstraint* constraint); // Takes ownership | 53 void AddConstraintInternal(DicomTagConstraint* constraint); // Takes ownership |
54 | 54 |
55 public: | 55 public: |
56 DatabaseLookup() | 56 DatabaseLookup() |
57 { | 57 { |
58 } | 58 } |
85 void AddRestConstraint(const DicomTag& tag, | 85 void AddRestConstraint(const DicomTag& tag, |
86 const std::string& dicomQuery, | 86 const std::string& dicomQuery, |
87 bool caseSensitive, | 87 bool caseSensitive, |
88 bool mandatoryTag); | 88 bool mandatoryTag); |
89 | 89 |
90 void AddConstraint(const DicomTagConstraint& constraint) | |
91 { | |
92 AddConstraintInternal(new DicomTagConstraint(constraint)); | |
93 } | |
94 | |
90 bool HasOnlyMainDicomTags() const; | 95 bool HasOnlyMainDicomTags() const; |
96 | |
97 std::string Format() const; | |
98 | |
99 bool HasTag(const DicomTag& tag) const; | |
91 }; | 100 }; |
92 } | 101 } |