Mercurial > hg > orthanc
comparison OrthancServer/Sources/Database/BaseDatabaseWrapper.cpp @ 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 |
---|---|
45 throw OrthancException(ErrorCode_NotImplemented); // Not supported | 45 throw OrthancException(ErrorCode_NotImplemented); // Not supported |
46 } | 46 } |
47 | 47 |
48 | 48 |
49 void BaseDatabaseWrapper::BaseTransaction::ExecuteFind(FindResponse& response, | 49 void BaseDatabaseWrapper::BaseTransaction::ExecuteFind(FindResponse& response, |
50 const FindRequest& request, | 50 const FindRequest& request) |
51 const std::vector<DatabaseConstraint>& normalized) | |
52 { | 51 { |
53 throw OrthancException(ErrorCode_NotImplemented); // Not supported | 52 throw OrthancException(ErrorCode_NotImplemented); // Not supported |
54 } | 53 } |
55 | 54 |
56 | 55 |
57 void BaseDatabaseWrapper::BaseTransaction::ExecuteFind(std::list<std::string>& identifiers, | 56 void BaseDatabaseWrapper::BaseTransaction::ExecuteFind(std::list<std::string>& identifiers, |
58 const FindRequest& request, | 57 const FindRequest& request) |
59 const std::vector<DatabaseConstraint>& normalized) | |
60 { | 58 { |
61 Compatibility::GenericFind find(*this); | 59 Compatibility::GenericFind find(*this); |
62 find.ExecuteFind(identifiers, request, normalized); | 60 find.ExecuteFind(identifiers, request); |
63 } | 61 } |
64 | 62 |
65 | 63 |
66 void BaseDatabaseWrapper::BaseTransaction::ExecuteExpand(FindResponse& response, | 64 void BaseDatabaseWrapper::BaseTransaction::ExecuteExpand(FindResponse& response, |
67 const FindRequest& request, | 65 const FindRequest& request, |