| 434 | } |
| 435 | |
| 436 | std::string VideoHppGenerator::generateStructs() const |
| 437 | { |
| 438 | std::string const structsTemplate = R"( |
| 439 | //=============== |
| 440 | //=== STRUCTS === |
| 441 | //=============== |
| 442 | |
| 443 | ${structs} |
| 444 | )"; |
| 445 | |
| 446 | std::string structs; |
| 447 | for ( auto const & extension : m_extensions ) |
| 448 | { |
| 449 | structs += generateStructs( extension ); |
| 450 | } |
| 451 | return replaceWithMap( structsTemplate, { { "structs", structs } } ); |
| 452 | } |
| 453 | |
| 454 | std::string VideoHppGenerator::generateStructs( ExtensionData const & extensionData ) const |
| 455 | { |
nothing calls this directly
no test coverage detected