Mercurial > hg > orthanc-databases
comparison Framework/Plugins/DatabaseBackendAdapterV2.cpp @ 391:d14e6ff04a5c db-protobuf
added primitives to handle labels
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 05 Apr 2023 12:09:46 +0200 |
parents | 3d6886f3e5b3 |
children | a8774581adfc |
comparison
equal
deleted
inserted
replaced
390:eb80f7c5e7d8 | 391:d14e6ff04a5c |
---|---|
1417 for (uint32_t i = 0; i < constraintsCount; i++) | 1417 for (uint32_t i = 0; i < constraintsCount; i++) |
1418 { | 1418 { |
1419 lookup.push_back(Orthanc::DatabaseConstraint(constraints[i])); | 1419 lookup.push_back(Orthanc::DatabaseConstraint(constraints[i])); |
1420 } | 1420 } |
1421 | 1421 |
1422 adapter->GetBackend().LookupResources(*output, accessor.GetManager(), lookup, queryLevel, limit, (requestSomeInstance != 0)); | 1422 std::set<std::string> noLabels; |
1423 adapter->GetBackend().LookupResources(*output, accessor.GetManager(), lookup, queryLevel, | |
1424 noLabels, noLabels, limit, (requestSomeInstance != 0)); | |
1425 | |
1423 return OrthancPluginErrorCode_Success; | 1426 return OrthancPluginErrorCode_Success; |
1424 } | 1427 } |
1425 ORTHANC_PLUGINS_DATABASE_CATCH; | 1428 ORTHANC_PLUGINS_DATABASE_CATCH; |
1426 } | 1429 } |
1427 #endif | 1430 #endif |