Mercurial > hg > orthanc
comparison OrthancServer/ServerIndex.h @ 646:fb49bf72ac2d
fix issue #7
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 30 Oct 2013 08:58:45 +0100 |
parents | ec0b7a51d7bd |
children | 3bdb5db8e839 2d0a347e8cfc |
comparison
equal
deleted
inserted
replaced
645:75af92b18e23 | 646:fb49bf72ac2d |
---|---|
88 void StandaloneRecycling(); | 88 void StandaloneRecycling(); |
89 | 89 |
90 void MarkAsUnstable(int64_t id, | 90 void MarkAsUnstable(int64_t id, |
91 Orthanc::ResourceType type); | 91 Orthanc::ResourceType type); |
92 | 92 |
93 void GetStatisticsInternal(/* out */ uint64_t& compressedSize, | |
94 /* out */ uint64_t& uncompressedSize, | |
95 /* out */ unsigned int& countStudies, | |
96 /* out */ unsigned int& countSeries, | |
97 /* out */ unsigned int& countInstances, | |
98 /* in */ int64_t id, | |
99 /* in */ ResourceType type); | |
100 | |
93 public: | 101 public: |
94 typedef std::list<FileInfo> Attachments; | 102 typedef std::list<FileInfo> Attachments; |
95 | 103 |
96 ServerIndex(ServerContext& context, | 104 ServerIndex(ServerContext& context, |
97 const std::string& dbPath); | 105 const std::string& dbPath); |
185 void DeleteExportedResources(); | 193 void DeleteExportedResources(); |
186 | 194 |
187 void GetStatistics(Json::Value& target, | 195 void GetStatistics(Json::Value& target, |
188 const std::string& publicId); | 196 const std::string& publicId); |
189 | 197 |
198 void GetStatistics(/* out */ uint64_t& compressedSize, | |
199 /* out */ uint64_t& uncompressedSize, | |
200 /* out */ unsigned int& countStudies, | |
201 /* out */ unsigned int& countSeries, | |
202 /* out */ unsigned int& countInstances, | |
203 const std::string& publicId); | |
204 | |
190 void LookupTagValue(std::list<std::string>& result, | 205 void LookupTagValue(std::list<std::string>& result, |
191 DicomTag tag, | 206 DicomTag tag, |
192 const std::string& value, | 207 const std::string& value, |
193 ResourceType type); | 208 ResourceType type); |
194 | 209 |