MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / frameParserTemplate

Method frameParserTemplate

app/src/DataModel/ProjectModel.cpp:1094–1100  ·  view source on GitHub ↗

* @brief Returns the native parser template id for the global frame parser (source 0). */

Source from the content-addressed store, hash-verified

1092 * @brief Returns the native parser template id for the global frame parser (source 0).
1093 */
1094QString DataModel::ProjectModel::frameParserTemplate() const
1095{
1096 if (m_sources.empty())
1097 return QString();
1098
1099 return m_sources[0].frameParserTemplate;
1100}
1101
1102/**
1103 * @brief Returns the native parser template id for the source, or source 0's.

Callers 5

parserGetCodeMethod · 0.80
parserSetLanguageMethod · 0.80
switchNativeLanguageMethod · 0.80
templateIndexMethod · 0.80
currentTemplateMethod · 0.80

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected