Mercurial > hg > orthanc
comparison OrthancServer/Sources/Database/IDatabaseWrapper.h @ 5248:a7d95f951f8a db-protobuf
replaced "WithLabels" and "WithoutLabels", by "Labels" and "LabelsConstraint"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 07 Apr 2023 22:18:37 +0200 |
parents | d0f7c742d397 |
children | f22c8fac764b |
comparison
equal
deleted
inserted
replaced
5247:eb2684260c19 | 5248:a7d95f951f8a |
---|---|
24 | 24 |
25 #include "../../../OrthancFramework/Sources/DicomFormat/DicomMap.h" | 25 #include "../../../OrthancFramework/Sources/DicomFormat/DicomMap.h" |
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 "../ServerIndexChange.h" | 30 #include "../ServerIndexChange.h" |
30 #include "IDatabaseListener.h" | 31 #include "IDatabaseListener.h" |
31 | 32 |
32 #include <list> | 33 #include <list> |
33 #include <boost/noncopyable.hpp> | 34 #include <boost/noncopyable.hpp> |
198 | 199 |
199 virtual void ApplyLookupResources(std::list<std::string>& resourcesId, | 200 virtual void ApplyLookupResources(std::list<std::string>& resourcesId, |
200 std::list<std::string>* instancesId, // Can be NULL if not needed | 201 std::list<std::string>* instancesId, // Can be NULL if not needed |
201 const std::vector<DatabaseConstraint>& lookup, | 202 const std::vector<DatabaseConstraint>& lookup, |
202 ResourceType queryLevel, | 203 ResourceType queryLevel, |
203 const std::set<std::string>& withLabels, | 204 const std::set<std::string>& labels, |
204 const std::set<std::string>& withoutLabels, | 205 LabelsConstraint labelsConstraint, |
205 uint32_t limit) = 0; | 206 uint32_t limit) = 0; |
206 | 207 |
207 // Returns "true" iff. the instance is new and has been inserted | 208 // Returns "true" iff. the instance is new and has been inserted |
208 // into the database. If "false" is returned, the content of | 209 // into the database. If "false" is returned, the content of |
209 // "result" is undefined, but "instanceId" must be properly | 210 // "result" is undefined, but "instanceId" must be properly |