| 406 | } |
| 407 | |
| 408 | std::string GetCompositionStoragePath(const AEGP_ItemH& itemHandle) { |
| 409 | std::string storagePath = ""; |
| 410 | std::string keyString = "storePath"; |
| 411 | auto value = FindMarkerFromComposition(itemHandle, keyString); |
| 412 | if (value.has_value()) { |
| 413 | storagePath = value->get<std::string>(); |
| 414 | } |
| 415 | return storagePath; |
| 416 | } |
| 417 | |
| 418 | std::string GetMarkerFromComposition(const AEGP_ItemH& itemHandle, const std::string& key) { |
| 419 | auto optionalJson = FindMarkerFromComposition(itemHandle, key); |
no test coverage detected