comparison OrthancServer/Plugins/Engine/OrthancPluginDatabaseV3.cpp @ 5193:1a878922404b db-protobuf

removed unused IDatabaseWrapper::IsExistingResource()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 27 Mar 2023 16:50:48 +0200
parents 0ea402b4d901
children 055428d92772
comparison
equal deleted inserted replaced
5192:af66a8e93ccf 5193:1a878922404b
589 { 589 {
590 uint64_t s; 590 uint64_t s;
591 CheckSuccess(that_.backend_.getTotalUncompressedSize(transaction_, &s)); 591 CheckSuccess(that_.backend_.getTotalUncompressedSize(transaction_, &s));
592 CheckNoEvent(); 592 CheckNoEvent();
593 return s; 593 return s;
594 }
595
596
597 virtual bool IsExistingResource(int64_t internalId) ORTHANC_OVERRIDE
598 {
599 uint8_t b;
600 CheckSuccess(that_.backend_.isExistingResource(transaction_, &b, internalId));
601 CheckNoEvent();
602 return (b != 0);
603 } 594 }
604 595
605 596
606 virtual bool IsProtectedPatient(int64_t internalId) ORTHANC_OVERRIDE 597 virtual bool IsProtectedPatient(int64_t internalId) ORTHANC_OVERRIDE
607 { 598 {