* Generate proxy code - client glue */
| 49 | * Generate proxy code - client glue |
| 50 | */ |
| 51 | int ProxyGenerator::transformXmlToFileImpl(const Document &doc, const char *filename) const |
| 52 | { |
| 53 | Node &root = *(doc.root); |
| 54 | Nodes interfaces = root["interface"]; |
| 55 | |
| 56 | std::ostringstream code; |
| 57 | code << createHeader(filename, StubType::PROXY); |
| 58 | |
| 59 | for (const auto& interface : interfaces) |
| 60 | { |
| 61 | code << processInterface(*interface); |
| 62 | } |
| 63 | |
| 64 | code << "#endif" << endl; |
| 65 | |
| 66 | return writeToFile(filename, code.str()); |
| 67 | } |
| 68 | |
| 69 | |
| 70 | std::string ProxyGenerator::processInterface(Node& interface) const |
nothing calls this directly
no outgoing calls
no test coverage detected