comparison OrthancServer/Sources/Database/IDatabaseWrapper.h @ 5681:77875b51cf95 find-refactoring

integration mainline->find-refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 09 Jul 2024 10:15:15 +0200
parents dc96401dbe88 68fc5af30c03
children 89d559e67b03
comparison
equal deleted inserted replaced
5679:527918e9c5d9 5681:77875b51cf95
37 #include <boost/noncopyable.hpp> 37 #include <boost/noncopyable.hpp>
38 #include <set> 38 #include <set>
39 39
40 namespace Orthanc 40 namespace Orthanc
41 { 41 {
42 class DatabaseConstraint; 42 class DatabaseConstraints;
43 class ResourcesContent; 43 class ResourcesContent;
44 44
45 class IDatabaseWrapper : public boost::noncopyable 45 class IDatabaseWrapper : public boost::noncopyable
46 { 46 {
47 public: 47 public:
282 282
283 virtual bool IsDiskSizeAbove(uint64_t threshold) = 0; 283 virtual bool IsDiskSizeAbove(uint64_t threshold) = 0;
284 284
285 virtual void ApplyLookupResources(std::list<std::string>& resourcesId, 285 virtual void ApplyLookupResources(std::list<std::string>& resourcesId,
286 std::list<std::string>* instancesId, // Can be NULL if not needed 286 std::list<std::string>* instancesId, // Can be NULL if not needed
287 const std::vector<DatabaseConstraint>& lookup, 287 const DatabaseConstraints& lookup,
288 ResourceType queryLevel, 288 ResourceType queryLevel,
289 const std::set<std::string>& labels, 289 const std::set<std::string>& labels,
290 LabelsConstraint labelsConstraint, 290 LabelsConstraint labelsConstraint,
291 uint32_t limit) = 0; 291 uint32_t limit) = 0;
292 292