MCPcopy Create free account
hub / github.com/KDE/labplot / treeEntries

Method treeEntries

src/backend/datasources/filters/ROOTFilter.cpp:999–1007  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

997}
998
999int ROOTData::treeEntries(long int pos) {
1000 DEBUG(Q_FUNC_INFO << ", pos = " << pos)
1001 auto it = treekeys.find(pos);
1002 if (it != treekeys.end()) {
1003 DEBUG(Q_FUNC_INFO << ", rows = " << it->second.nrows)
1004 return it->second.nrows;
1005 } else
1006 return 0;
1007}
1008
1009std::vector<ROOTData::LeafInfo> ROOTData::listLeaves(long int pos) const {
1010 std::vector<LeafInfo> leaves;

Callers 3

readDataFromFileMethod · 0.80
previewCurrentObjectMethod · 0.80
rowsInCurrentObjectMethod · 0.80

Calls 1

endMethod · 0.45

Tested by

no test coverage detected