Mercurial > hg > orthanc
comparison OrthancServer/ServerIndex.h @ 192:c56dc32266e0
refactoring getfile
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 13 Nov 2012 11:29:43 +0100 |
parents | b6cef9d45cc3 |
children | a1b9d1e1497b |
comparison
equal
deleted
inserted
replaced
191:bff0b77b02fa | 192:c56dc32266e0 |
---|---|
119 const std::string& fileUuid, | 119 const std::string& fileUuid, |
120 uint64_t uncompressedFileSize, | 120 uint64_t uncompressedFileSize, |
121 const std::string& jsonUuid, | 121 const std::string& jsonUuid, |
122 const std::string& remoteAet); | 122 const std::string& remoteAet); |
123 | 123 |
124 bool GetJsonFile(std::string& fileUuid, | |
125 const std::string& instanceUuid); | |
126 | |
127 bool GetDicomFile(std::string& fileUuid, | |
128 const std::string& instanceUuid); | |
129 | |
124 public: | 130 public: |
125 ServerIndex(const std::string& storagePath); | 131 ServerIndex(const std::string& storagePath); |
126 | 132 |
127 StoreStatus Store(const DicomMap& dicomSummary, | 133 StoreStatus Store(const DicomMap& dicomSummary, |
128 const std::string& fileUuid, | 134 const std::string& fileUuid, |
154 const std::string& studyUuid); | 160 const std::string& studyUuid); |
155 | 161 |
156 bool GetPatient(Json::Value& result, | 162 bool GetPatient(Json::Value& result, |
157 const std::string& patientUuid); | 163 const std::string& patientUuid); |
158 | 164 |
159 bool GetJsonFile(std::string& fileUuid, | 165 bool GetFile(std::string& fileUuid, |
160 const std::string& instanceUuid); | 166 const std::string& instanceUuid, |
161 | 167 const std::string& contentName); |
162 bool GetDicomFile(std::string& fileUuid, | |
163 const std::string& instanceUuid); | |
164 | 168 |
165 void GetAllUuids(Json::Value& target, | 169 void GetAllUuids(Json::Value& target, |
166 ResourceType resourceType); | 170 ResourceType resourceType); |
167 | 171 |
168 bool DeletePatient(Json::Value& target, | 172 bool DeletePatient(Json::Value& target, |