MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / items

Method items

pj_runtime/src/CatalogModel.cpp:267–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265CatalogModel::~CatalogModel() = default;
266
267std::vector<CatalogItem> CatalogModel::items() const {
268 std::vector<CatalogItem> items;
269 items.reserve(impl_->items.size());
270 for (const auto& [key, item] : impl_->items) {
271 (void)key;
272 items.push_back(item);
273 }
274 std::sort(items.begin(), items.end(), catalogItemLess);
275 return items;
276}
277
278bool CatalogModel::isEmpty() const noexcept {
279 return impl_->items.empty();

Callers 15

mainFunction · 0.80
TEST_FFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
computeDiffFunction · 0.80
applyAndDiffMethod · 0.80
applyToWidgetFunction · 0.80
MainWindowMethod · 0.80
launchToolboxMethod · 0.80

Calls 4

reserveMethod · 0.80
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by 5

TEST_FFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TEST_FFunction · 0.64