comparison Core/JobsEngine/SetOfInstancesJob.cpp @ 2648:e1893d31652a jobs

serialization of JobHandler
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 31 May 2018 18:44:05 +0200
parents c691fcf66071
children a3f0f61a14ca
comparison
equal deleted inserted replaced
2647:73d7d95dd75e 2648:e1893d31652a
184 value["InstancesCount"] = static_cast<uint32_t>(GetInstances().size()); 184 value["InstancesCount"] = static_cast<uint32_t>(GetInstances().size());
185 value["FailedInstancesCount"] = static_cast<uint32_t>(GetFailedInstances().size()); 185 value["FailedInstancesCount"] = static_cast<uint32_t>(GetFailedInstances().size());
186 } 186 }
187 187
188 188
189 void SetOfInstancesJob::GetInternalContent(Json::Value& value) 189 void SetOfInstancesJob::Serialize(Json::Value& value)
190 { 190 {
191 Json::Value v = Json::arrayValue; 191 Json::Value v = Json::arrayValue;
192 192
193 for (size_t i = 0; i < instances_.size(); i++) 193 for (size_t i = 0; i < instances_.size(); i++)
194 { 194 {