comparison OrthancServer/Sources/ServerContext.cpp @ 5589:b51ee994cd6f find-refactoring

renamed FindResponse::Item as FindResponse::Resource
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 03 May 2024 17:26:06 +0200
parents 74cc31c8db2b
children 8b32213af23e
comparison
equal deleted inserted replaced
5588:1b0fc6685f57 5589:b51ee994cd6f
2717 return elapsed.total_seconds(); 2717 return elapsed.total_seconds();
2718 } 2718 }
2719 2719
2720 void ServerContext::AppendFindResponse(Json::Value& target, 2720 void ServerContext::AppendFindResponse(Json::Value& target,
2721 const FindRequest& request, 2721 const FindRequest& request,
2722 const FindResponse::Item& item, 2722 const FindResponse::Resource& item,
2723 DicomToJsonFormat format, 2723 DicomToJsonFormat format,
2724 const std::set<DicomTag>& requestedTags, 2724 const std::set<DicomTag>& requestedTags,
2725 bool allowStorageAccess) 2725 bool allowStorageAccess)
2726 { 2726 {
2727 // convert to ExpandedResource to re-use the serialization code TODO-FIND: check if this is the right way to do. shouldn't we copy the code and finally get rid of ExpandedResource ? 2727 // convert to ExpandedResource to re-use the serialization code TODO-FIND: check if this is the right way to do. shouldn't we copy the code and finally get rid of ExpandedResource ?