MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / getGroupCommonFileName

Method getGroupCommonFileName

erpcgen/src/Generator.cpp:480–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478}
479
480string 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
497void Generator::generateGroupOutputFiles(Group *group)
498{

Callers

nothing calls this directly

Calls 4

getOutputFilenameMethod · 0.80
emptyMethod · 0.45
sizeMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected