Mercurial > hg > orthanc
diff OrthancServer/DatabaseWrapper.h @ 238:e4148b0ab1d0
statistics URI
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 30 Nov 2012 16:09:24 +0100 |
parents | 16a4ac70bd8a |
children | 2354560daf2f |
line wrap: on
line diff
--- a/OrthancServer/DatabaseWrapper.h Fri Nov 30 15:45:15 2012 +0100 +++ b/OrthancServer/DatabaseWrapper.h Fri Nov 30 16:09:24 2012 +0100 @@ -167,12 +167,15 @@ void GetLastExportedResource(Json::Value& target); + // For unit testing only! int64_t GetTableRecordCount(const std::string& table); uint64_t GetTotalCompressedSize(); uint64_t GetTotalUncompressedSize(); + uint64_t GetResourceCount(ResourceType resourceType); + void GetAllPublicIds(Json::Value& target, ResourceType resourceType);