comparison Plugins/Engine/OrthancPluginDatabase.h @ 3029:ea653ec47f31 db-changes

new class: DatabaseConstraint
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 18 Dec 2018 18:56:55 +0100
parents fd587cf51a89
children 18a2d196414b
comparison
equal deleted inserted replaced
3027:fd587cf51a89 3029:ea653ec47f31
271 271
272 virtual bool IsDiskSizeAbove(uint64_t threshold); 272 virtual bool IsDiskSizeAbove(uint64_t threshold);
273 273
274 virtual void ApplyLookupPatients(std::vector<std::string>& patientsId, 274 virtual void ApplyLookupPatients(std::vector<std::string>& patientsId,
275 std::vector<std::string>& instancesId, 275 std::vector<std::string>& instancesId,
276 const DatabaseLookup& lookup, 276 const std::vector<DatabaseConstraint>& lookup,
277 size_t limit); 277 size_t limit);
278 278
279 virtual void ApplyLookupResources(std::vector<std::string>& patientsId, 279 virtual void ApplyLookupResources(std::vector<std::string>& patientsId,
280 std::vector<std::string>& instancesId, 280 std::vector<std::string>& instancesId,
281 const DatabaseLookup& lookup, 281 const std::vector<DatabaseConstraint>& lookup,
282 ResourceType queryLevel, 282 ResourceType queryLevel,
283 size_t limit); 283 size_t limit);
284 }; 284 };
285 } 285 }
286 286