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

Method datasetCount

app/src/DataModel/ProjectModel.cpp:1229–1236  ·  view source on GitHub ↗

* @brief Returns the total number of datasets across all groups. */

Source from the content-addressed store, hash-verified

1227 * @brief Returns the total number of datasets across all groups.
1228 */
1229int DataModel::ProjectModel::datasetCount() const
1230{
1231 int count = 0;
1232 for (const auto& group : m_groups)
1233 count += static_cast<int>(group.datasets.size());
1234
1235 return count;
1236}
1237
1238/**
1239 * @brief Returns the project's group list.

Callers 7

summarizeCurrentProjectFunction · 0.80
getStatusMethod · 0.80
loadFromJSONMethod · 0.80
loadIntoFrameBuilderMethod · 0.80
templateApplyMethod · 0.80
currentSummaryMethod · 0.80
addGeneralSectionMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected