Mercurial > hg > orthanc
comparison OrthancServer/ServerContext.h @ 1146:200fcac0deb4
optimization for access to attachments
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 11 Sep 2014 14:04:48 +0200 |
parents | 0479d02c6778 |
children | 6b9b02a16e99 |
comparison
equal
deleted
inserted
replaced
1145:0479d02c6778 | 1146:200fcac0deb4 |
---|---|
162 size_t size); | 162 size_t size); |
163 | 163 |
164 StoreStatus Store(std::string& resultPublicId, | 164 StoreStatus Store(std::string& resultPublicId, |
165 DicomInstanceToStore& dicom); | 165 DicomInstanceToStore& dicom); |
166 | 166 |
167 void AnswerDicomFile(RestApiOutput& output, | 167 void AnswerAttachment(RestApiOutput& output, |
168 const std::string& instancePublicId, | 168 const std::string& instancePublicId, |
169 FileContentType content); | 169 FileContentType content); |
170 | 170 |
171 void ReadJson(Json::Value& result, | 171 void ReadJson(Json::Value& result, |
172 const std::string& instancePublicId); | 172 const std::string& instancePublicId); |
173 | 173 |
174 // TODO CACHING MECHANISM AT THIS POINT | 174 // TODO CACHING MECHANISM AT THIS POINT |