comparison OrthancServer/Sources/ServerContext.cpp @ 5220:df39c7583a49 db-protobuf

preparing virtual methods for labels
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 03 Apr 2023 18:09:04 +0200
parents f8f1c4a9a216
children d0f7c742d397
comparison
equal deleted inserted replaced
5218:afa96af2eb5a 5220:df39c7583a49
1446 { 1446 {
1447 fastLookup->RemoveConstraint(DICOM_TAG_MODALITIES_IN_STUDY); 1447 fastLookup->RemoveConstraint(DICOM_TAG_MODALITIES_IN_STUDY);
1448 } 1448 }
1449 1449
1450 { 1450 {
1451 const size_t lookupLimit = (databaseLimit == 0 ? 0 : databaseLimit + 1); 1451 const size_t lookupLimit = (databaseLimit == 0 ? 0 : databaseLimit + 1);
1452 GetIndex().ApplyLookupResources(resources, &instances, *fastLookup, queryLevel, lookupLimit); 1452 GetIndex().ApplyLookupResources(resources, &instances, *fastLookup, queryLevel,
1453 lookup.GetWithLabels(), lookup.GetWithoutLabels(), lookupLimit);
1453 } 1454 }
1454 1455
1455 bool complete = (databaseLimit == 0 || 1456 bool complete = (databaseLimit == 0 ||
1456 resources.size() <= databaseLimit); 1457 resources.size() <= databaseLimit);
1457 1458