| 478 | } |
| 479 | |
| 480 | string Generator::getGroupCommonFileName(Group *group) |
| 481 | { |
| 482 | string fileName = ""; |
| 483 | if (!group->getInterfaces().empty() || (m_groups.size() == 1 && group->getName() == "")) |
| 484 | { |
| 485 | string groupName = group->getName(); |
| 486 | fileName = stripExtension(m_def->getOutputFilename()); |
| 487 | m_templateData["outputFilename"] = fileName; |
| 488 | if (groupName != "") |
| 489 | { |
| 490 | fileName += "_" + groupName; |
| 491 | } |
| 492 | Log::info("File name %s\n", fileName.c_str()); |
| 493 | } |
| 494 | return fileName; |
| 495 | } |
| 496 | |
| 497 | void Generator::generateGroupOutputFiles(Group *group) |
| 498 | { |
nothing calls this directly
no test coverage detected