comparison OrthancServer/OrthancRestApi.cpp @ 127:7517cbe58623

merge
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Oct 2012 17:45:13 +0200
parents 2d96cb181f45 52c7eb60bbc8
children 5133cfc8db86
comparison
equal deleted inserted replaced
125:2d96cb181f45 127:7517cbe58623
337 c.Store(postData); 337 c.Store(postData);
338 } 338 }
339 else if (index_.GetSeries(found, postData)) 339 else if (index_.GetSeries(found, postData))
340 { 340 {
341 // The UUID corresponds to a series 341 // The UUID corresponds to a series
342 for (size_t i = 0; i < found["Instances"].size(); i++) 342 for (Json::Value::ArrayIndex i = 0; i < found["Instances"].size(); i++)
343 { 343 {
344 std::string uuid = found["Instances"][i].asString(); 344 std::string uuid = found["Instances"][i].asString();
345 Json::Value instance(Json::objectValue); 345 Json::Value instance(Json::objectValue);
346 if (index_.GetInstance(instance, uuid)) 346 if (index_.GetInstance(instance, uuid))
347 { 347 {