comparison OrthancServer/Sources/Database/IDatabaseWrapper.h @ 5554:12d8a1a266e9 find-refactoring

introduction of FindRequest and FindResponse
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 15 Apr 2024 16:13:24 +0200
parents 2c5eb1ef26a0
children b0b5546f1b9f
comparison
equal deleted inserted replaced
5549:dcbf0c776945 5554:12d8a1a266e9
26 #include "../../../OrthancFramework/Sources/FileStorage/FileInfo.h" 26 #include "../../../OrthancFramework/Sources/FileStorage/FileInfo.h"
27 #include "../../../OrthancFramework/Sources/FileStorage/IStorageArea.h" 27 #include "../../../OrthancFramework/Sources/FileStorage/IStorageArea.h"
28 #include "../ExportedResource.h" 28 #include "../ExportedResource.h"
29 #include "../Search/ISqlLookupFormatter.h" 29 #include "../Search/ISqlLookupFormatter.h"
30 #include "../ServerIndexChange.h" 30 #include "../ServerIndexChange.h"
31 #include "FindRequest.h"
32 #include "FindResponse.h"
31 #include "IDatabaseListener.h" 33 #include "IDatabaseListener.h"
32 34
33 #include <list> 35 #include <list>
34 #include <boost/noncopyable.hpp> 36 #include <boost/noncopyable.hpp>
35 #include <set> 37 #include <set>
348 int64_t& studiesCount, 350 int64_t& studiesCount,
349 int64_t& seriesCount, 351 int64_t& seriesCount,
350 int64_t& instancesCount, 352 int64_t& instancesCount,
351 int64_t& compressedSize, 353 int64_t& compressedSize,
352 int64_t& uncompressedSize) = 0; 354 int64_t& uncompressedSize) = 0;
355
356 /**
357 * Primitives introduced in Orthanc 1.12.4
358 **/
359
360 virtual void ExecuteFind(FindResponse& response,
361 const FindRequest& request) = 0;
353 }; 362 };
354 363
355 364
356 virtual ~IDatabaseWrapper() 365 virtual ~IDatabaseWrapper()
357 { 366 {