# HG changeset patch # User Sebastien Jodogne # Date 1730208583 0 # Node ID c1b9eb21bd61d1630ff640a1aaaa4f3e8b8e7318 # Parent f924d9a88cd24610f1f215e2bc61a89f6404d9c1 removed unused flavor of StatelessDatabaseOperations::GetAllUuids() diff -r f924d9a88cd2 -r c1b9eb21bd61 OrthancServer/Sources/Database/StatelessDatabaseOperations.cpp --- a/OrthancServer/Sources/Database/StatelessDatabaseOperations.cpp Tue Oct 29 13:18:40 2024 +0000 +++ b/OrthancServer/Sources/Database/StatelessDatabaseOperations.cpp Tue Oct 29 13:29:43 2024 +0000 @@ -661,34 +661,6 @@ } - void StatelessDatabaseOperations::GetAllUuids(std::list& target, - ResourceType resourceType, - size_t since, - uint32_t limit) - { - if (limit == 0) - { - target.clear(); - } - else - { - class Operations : public ReadOnlyOperationsT4&, ResourceType, size_t, size_t> - { - public: - virtual void ApplyTuple(ReadOnlyTransaction& transaction, - const Tuple& tuple) ORTHANC_OVERRIDE - { - // TODO - CANDIDATE FOR "TransactionType_Implicit" - transaction.GetAllPublicIds(tuple.get<0>(), tuple.get<1>(), tuple.get<2>(), tuple.get<3>()); - } - }; - - Operations operations; - operations.Apply(*this, target, resourceType, since, limit); - } - } - - void StatelessDatabaseOperations::GetGlobalStatistics(/* out */ uint64_t& diskSize, /* out */ uint64_t& uncompressedSize, /* out */ uint64_t& countPatients, diff -r f924d9a88cd2 -r c1b9eb21bd61 OrthancServer/Sources/Database/StatelessDatabaseOperations.h --- a/OrthancServer/Sources/Database/StatelessDatabaseOperations.h Tue Oct 29 13:18:40 2024 +0000 +++ b/OrthancServer/Sources/Database/StatelessDatabaseOperations.h Tue Oct 29 13:29:43 2024 +0000 @@ -141,20 +141,6 @@ transaction_.GetAllMetadata(target, id); } - void GetAllPublicIds(std::list& target, - ResourceType resourceType) - { - return transaction_.GetAllPublicIds(target, resourceType); - } - - void GetAllPublicIds(std::list& target, - ResourceType resourceType, - size_t since, - uint32_t limit) - { - return transaction_.GetAllPublicIds(target, resourceType, since, limit); - } - void GetChanges(std::list& target /*out*/, bool& done /*out*/, int64_t since, @@ -559,11 +545,6 @@ void GetAllUuids(std::list& target, ResourceType resourceType); - void GetAllUuids(std::list& target, - ResourceType resourceType, - size_t since, - uint32_t limit); - void GetGlobalStatistics(/* out */ uint64_t& diskSize, /* out */ uint64_t& uncompressedSize, /* out */ uint64_t& countPatients,