--------------------------------- GetHeaderString Returns a string for the file header
| 67 | // Returns a string for the file header |
| 68 | // |
| 69 | std::string GetHeaderString(std::string const& name, std::string const& compiledDataName) |
| 70 | { |
| 71 | return std::string( |
| 72 | "// this file is automatically generated, do not edit!\n" |
| 73 | "#pragma once\n" |
| 74 | "\n" |
| 75 | "namespace generated {\n" |
| 76 | "\n" |
| 77 | "struct wrapper\n" |
| 78 | "{\n" |
| 79 | "\tstatic unsigned char const ") + compiledDataName + std::string("[];\n" |
| 80 | "};\n" |
| 81 | "\n" |
| 82 | "} // namespace generated\n" |
| 83 | "\n" |
| 84 | "unsigned char const* GetCompiledData_") + name + std::string("();\n" |
| 85 | ); |
| 86 | } |
| 87 | |
| 88 | //--------------------------------- |
| 89 | // GetHeaderString |
no outgoing calls
no test coverage detected