Generate Json::Value for this object
| 342 | |
| 343 | // Generate Json::Value for this object |
| 344 | Json::Value QtImageReader::JsonValue() const { |
| 345 | |
| 346 | // Create root json object |
| 347 | Json::Value root = ReaderBase::JsonValue(); // get parent properties |
| 348 | root["type"] = "QtImageReader"; |
| 349 | root["path"] = path.toStdString(); |
| 350 | |
| 351 | // return JsonValue |
| 352 | return root; |
| 353 | } |
| 354 | |
| 355 | // Load JSON string into this object |
| 356 | void QtImageReader::SetJson(const std::string value) { |
nothing calls this directly
no outgoing calls
no test coverage detected