Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
237:16a4ac70bd8a | 238:e4148b0ab1d0 |
---|---|
165 int64_t since, | 165 int64_t since, |
166 unsigned int maxResults); | 166 unsigned int maxResults); |
167 | 167 |
168 void GetLastExportedResource(Json::Value& target); | 168 void GetLastExportedResource(Json::Value& target); |
169 | 169 |
170 // For unit testing only! | |
170 int64_t GetTableRecordCount(const std::string& table); | 171 int64_t GetTableRecordCount(const std::string& table); |
171 | 172 |
172 uint64_t GetTotalCompressedSize(); | 173 uint64_t GetTotalCompressedSize(); |
173 | 174 |
174 uint64_t GetTotalUncompressedSize(); | 175 uint64_t GetTotalUncompressedSize(); |
176 | |
177 uint64_t GetResourceCount(ResourceType resourceType); | |
175 | 178 |
176 void GetAllPublicIds(Json::Value& target, | 179 void GetAllPublicIds(Json::Value& target, |
177 ResourceType resourceType); | 180 ResourceType resourceType); |
178 | 181 |
179 DatabaseWrapper(const std::string& path, | 182 DatabaseWrapper(const std::string& path, |