Mercurial > hg > orthanc
comparison OrthancServer/Sources/Search/DicomTagConstraint.cpp @ 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 | 05b8fd21089c |
children | d9473bd5ed43 |
comparison
equal
deleted
inserted
replaced
4194:2bc49197f806 | 4196:37310bb1cd30 |
---|---|
152 throw OrthancException(ErrorCode_ParameterOutOfRange); | 152 throw OrthancException(ErrorCode_ParameterOutOfRange); |
153 } | 153 } |
154 } | 154 } |
155 | 155 |
156 | 156 |
157 DicomTagConstraint::DicomTagConstraint(const DicomTagConstraint& other) : | |
158 tag_(other.tag_), | |
159 constraintType_(other.constraintType_), | |
160 values_(other.values_), | |
161 caseSensitive_(other.caseSensitive_), | |
162 mandatory_(other.mandatory_) | |
163 { | |
164 } | |
165 | |
166 | |
157 DicomTagConstraint::DicomTagConstraint(const DatabaseConstraint& constraint) : | 167 DicomTagConstraint::DicomTagConstraint(const DatabaseConstraint& constraint) : |
158 tag_(constraint.GetTag()), | 168 tag_(constraint.GetTag()), |
159 constraintType_(constraint.GetConstraintType()), | 169 constraintType_(constraint.GetConstraintType()), |
160 caseSensitive_(constraint.IsCaseSensitive()), | 170 caseSensitive_(constraint.IsCaseSensitive()), |
161 mandatory_(constraint.IsMandatory()) | 171 mandatory_(constraint.IsMandatory()) |
331 } | 341 } |
332 | 342 |
333 s += *it; | 343 s += *it; |
334 } | 344 } |
335 | 345 |
336 return s + "]"; | 346 return s + " ]"; |
337 } | 347 } |
338 | 348 |
339 default: | 349 default: |
340 throw OrthancException(ErrorCode_InternalError); | 350 throw OrthancException(ErrorCode_InternalError); |
341 } | 351 } |