comparison OrthancServer/Sources/Database/FindRequest.h @ 5677:dc96401dbe88 find-refactoring

starting the refactoring of /tools/find
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 08 Jul 2024 19:03:23 +0200
parents b744a2cf408a
children 77875b51cf95
comparison
equal deleted inserted replaced
5676:b744a2cf408a 5677:dc96401dbe88
253 std::deque<void*> /* TODO-FIND */ metadataConstraints_; // All metadata filters (note: the order is not important) 253 std::deque<void*> /* TODO-FIND */ metadataConstraints_; // All metadata filters (note: the order is not important)
254 bool hasLimits_; 254 bool hasLimits_;
255 uint64_t limitsSince_; 255 uint64_t limitsSince_;
256 uint64_t limitsCount_; 256 uint64_t limitsCount_;
257 std::set<std::string> labels_; 257 std::set<std::string> labels_;
258 LabelsConstraint labelsContraint_; 258 LabelsConstraint labelsConstraint_;
259 std::deque<Ordering*> ordering_; // The ordering criteria (note: the order is important !) 259 std::deque<Ordering*> ordering_; // The ordering criteria (note: the order is important !)
260 260
261 bool retrieveMainDicomTags_; 261 bool retrieveMainDicomTags_;
262 bool retrieveMetadata_; 262 bool retrieveMetadata_;
263 bool retrieveLabels_; 263 bool retrieveLabels_;
344 return labels_; 344 return labels_;
345 } 345 }
346 346
347 LabelsConstraint GetLabelsConstraint() const 347 LabelsConstraint GetLabelsConstraint() const
348 { 348 {
349 return labelsContraint_; 349 return labelsConstraint_;
350 }
351
352 void SetLabelsConstraint(LabelsConstraint constraint)
353 {
354 labelsConstraint_ = constraint;
350 } 355 }
351 356
352 void SetRetrieveMainDicomTags(bool retrieve) 357 void SetRetrieveMainDicomTags(bool retrieve)
353 { 358 {
354 retrieveMainDicomTags_ = retrieve; 359 retrieveMainDicomTags_ = retrieve;