comparison OrthancServer/OrthancFindRequestHandler.cpp @ 2120:4b02ec79728a

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 07 Nov 2016 11:19:19 +0100
parents a657f7772e69
children 2b1520efa282
comparison
equal deleted inserted replaced
2119:e0517f25919e 2120:4b02ec79728a
399 Json::Value content = Json::arrayValue; 399 Json::Value content = Json::arrayValue;
400 400
401 for (Json::Value::ArrayIndex i = 0; i < source["Value"].size(); i++) 401 for (Json::Value::ArrayIndex i = 0; i < source["Value"].size(); i++)
402 { 402 {
403 Json::Value item; 403 Json::Value item;
404 Toolbox::SimplifyTags(item, source["Value"][i], DicomToJsonFormat_Short); 404 ServerToolbox::SimplifyTags(item, source["Value"][i], DicomToJsonFormat_Short);
405 content.append(item); 405 content.append(item);
406 } 406 }
407 407
408 dicom.Replace(*tag, content, false, DicomReplaceMode_InsertIfAbsent); 408 dicom.Replace(*tag, content, false, DicomReplaceMode_InsertIfAbsent);
409 } 409 }