comparison OrthancServer/ServerIndex.h @ 2996:d547f998c947 db-changes

integration mainline->db-changes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 10 Dec 2018 20:33:13 +0100
parents 96089d1aba4d
children 0e1755e5efd0
comparison
equal deleted inserted replaced
2981:eff50153a7b3 2996:d547f998c947
95 95
96 void MarkAsUnstable(int64_t id, 96 void MarkAsUnstable(int64_t id,
97 Orthanc::ResourceType type, 97 Orthanc::ResourceType type,
98 const std::string& publicId); 98 const std::string& publicId);
99 99
100 void GetStatisticsInternal(/* out */ uint64_t& compressedSize, 100 void GetStatisticsInternal(/* out */ uint64_t& diskSize,
101 /* out */ uint64_t& uncompressedSize, 101 /* out */ uint64_t& uncompressedSize,
102 /* out */ unsigned int& countStudies, 102 /* out */ unsigned int& countStudies,
103 /* out */ unsigned int& countSeries, 103 /* out */ unsigned int& countSeries,
104 /* out */ unsigned int& countInstances, 104 /* out */ unsigned int& countInstances,
105 /* out */ uint64_t& dicomDiskSize,
106 /* out */ uint64_t& dicomUncompressedSize,
105 /* in */ int64_t id, 107 /* in */ int64_t id,
106 /* in */ ResourceType type); 108 /* in */ ResourceType type);
107 109
108 bool GetMetadataAsInteger(int64_t& result, 110 bool GetMetadataAsInteger(int64_t& result,
109 int64_t id, 111 int64_t id,
237 void DeleteExportedResources(); 239 void DeleteExportedResources();
238 240
239 void GetStatistics(Json::Value& target, 241 void GetStatistics(Json::Value& target,
240 const std::string& publicId); 242 const std::string& publicId);
241 243
242 void GetStatistics(/* out */ uint64_t& compressedSize, 244 void GetStatistics(/* out */ uint64_t& diskSize,
243 /* out */ uint64_t& uncompressedSize, 245 /* out */ uint64_t& uncompressedSize,
244 /* out */ unsigned int& countStudies, 246 /* out */ unsigned int& countStudies,
245 /* out */ unsigned int& countSeries, 247 /* out */ unsigned int& countSeries,
246 /* out */ unsigned int& countInstances, 248 /* out */ unsigned int& countInstances,
249 /* out */ uint64_t& dicomDiskSize,
250 /* out */ uint64_t& dicomUncompressedSize,
247 const std::string& publicId); 251 const std::string& publicId);
248 252
249 void LookupIdentifierExact(std::list<std::string>& result, 253 void LookupIdentifierExact(std::list<std::string>& result,
250 ResourceType level, 254 ResourceType level,
251 const DicomTag& tag, 255 const DicomTag& tag,