Mercurial > hg > orthanc
comparison OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp @ 4792:434843934307 storage-cache
Added a StorageCache in the StorageAccessor
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 30 Sep 2021 12:14:19 +0200 |
parents | 3b78ba359db3 |
children | 7afbb54bd028 |
comparison
equal
deleted
inserted
replaced
4790:9754d5f2f38a | 4792:434843934307 |
---|---|
2967 ServerContext& context = OrthancRestApi::GetContext(call); | 2967 ServerContext& context = OrthancRestApi::GetContext(call); |
2968 | 2968 |
2969 std::string publicId = call.GetUriComponent("id", ""); | 2969 std::string publicId = call.GetUriComponent("id", ""); |
2970 | 2970 |
2971 std::string dicomContent; | 2971 std::string dicomContent; |
2972 context.ReadDicom(dicomContent, publicId); | 2972 context.ReadDicomForHeader(dicomContent, publicId); |
2973 | 2973 |
2974 // TODO Consider using "DicomMap::ParseDicomMetaInformation()" to | 2974 // TODO Consider using "DicomMap::ParseDicomMetaInformation()" to |
2975 // speed up things here | 2975 // speed up things here |
2976 | 2976 |
2977 ParsedDicomFile dicom(dicomContent); | 2977 ParsedDicomFile dicom(dicomContent); |