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

Method frameParserParams

app/src/DataModel/ProjectModel.cpp:1117–1123  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1115 * @brief Returns the native parser template params for the global frame parser (source 0).
1116 */
1117QJsonObject DataModel::ProjectModel::frameParserParams() const
1118{
1119 if (m_sources.empty())
1120 return QJsonObject();
1121
1122 return m_sources[0].frameParserParams;
1123}
1124
1125/**
1126 * @brief Returns the native parser template params for the source, or source 0's.

Callers 5

parserGetCodeMethod · 0.80
parserSetTemplateMethod · 0.80
switchNativeLanguageMethod · 0.80
rebuildParameterModelMethod · 0.80

Calls 2

QJsonObjectClass · 0.85
emptyMethod · 0.80

Tested by

no test coverage detected