Mercurial > hg > orthanc
comparison OrthancServer/Search/LookupIdentifierQuery.cpp @ 1751:fb569ee09a69 db-changes
LookupResource complete
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 27 Oct 2015 16:05:42 +0100 |
parents | 55d52567bebb |
children | 318c2e83c2bd |
comparison
equal
deleted
inserted
replaced
1750:55d52567bebb | 1751:fb569ee09a69 |
---|---|
154 void LookupIdentifierQuery::AddConstraint(DicomTag tag, | 154 void LookupIdentifierQuery::AddConstraint(DicomTag tag, |
155 IdentifierConstraintType type, | 155 IdentifierConstraintType type, |
156 const std::string& value) | 156 const std::string& value) |
157 { | 157 { |
158 assert(IsIdentifier(tag)); | 158 assert(IsIdentifier(tag)); |
159 constraints_.push_back(new Disjunction); | |
159 constraints_.back()->Add(tag, type, value); | 160 constraints_.back()->Add(tag, type, value); |
160 } | 161 } |
161 | 162 |
162 | 163 |
163 LookupIdentifierQuery::Disjunction& LookupIdentifierQuery::AddDisjunction() | 164 LookupIdentifierQuery::Disjunction& LookupIdentifierQuery::AddDisjunction() |