comparison OrthancServer/Sources/Database/IDatabaseWrapper.h @ 5614:4640b7ae9a11 find-refactoring

moving normalization of constraints into FindRequest
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 09 May 2024 11:59:56 +0200
parents 862b54b4cfe2
children 3f13db27b399
comparison
equal deleted inserted replaced
5613:f1ce8dd361b7 5614:4640b7ae9a11
357 * Primitives introduced in Orthanc 1.12.4 357 * Primitives introduced in Orthanc 1.12.4
358 **/ 358 **/
359 359
360 // This is only implemented if "HasIntegratedFind()" is "true" 360 // This is only implemented if "HasIntegratedFind()" is "true"
361 virtual void ExecuteFind(FindResponse& response, 361 virtual void ExecuteFind(FindResponse& response,
362 const FindRequest& request, 362 const FindRequest& request) = 0;
363 const std::vector<DatabaseConstraint>& normalized) = 0;
364 363
365 // This is only implemented if "HasIntegratedFind()" is "false" 364 // This is only implemented if "HasIntegratedFind()" is "false"
366 virtual void ExecuteFind(std::list<std::string>& identifiers, 365 virtual void ExecuteFind(std::list<std::string>& identifiers,
367 const FindRequest& request, 366 const FindRequest& request) = 0;
368 const std::vector<DatabaseConstraint>& normalized) = 0;
369 367
370 /** 368 /**
371 * This is only implemented if "HasIntegratedFind()" is 369 * This is only implemented if "HasIntegratedFind()" is
372 * "false". In this flavor, the resource of interest might have 370 * "false". In this flavor, the resource of interest might have
373 * been deleted, as the expansion is not done in the same 371 * been deleted, as the expansion is not done in the same