Generate Json::Value for this object
| 62 | |
| 63 | // Generate Json::Value for this object |
| 64 | Json::Value ClipBase::JsonValue() const { |
| 65 | |
| 66 | // Create root json object |
| 67 | Json::Value root; |
| 68 | root["id"] = Id(); |
| 69 | root["position"] = Position(); |
| 70 | root["layer"] = Layer(); |
| 71 | root["start"] = Start(); |
| 72 | root["end"] = End(); |
| 73 | root["duration"] = Duration(); |
| 74 | |
| 75 | // return JsonValue |
| 76 | return root; |
| 77 | } |
| 78 | |
| 79 | // Load Json::Value into this object |
| 80 | void ClipBase::SetJsonValue(const Json::Value root) { |
nothing calls this directly
no outgoing calls
no test coverage detected