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

Method rowCount

src/backend/spreadsheet/Spreadsheet.cpp:279–287  ·  view source on GitHub ↗

! * Returns the number of rows in the \c Spreadsheet. * @return The number of rows in the \c Spreadsheet. */

Source from the content-addressed store, hash-verified

277 * @return The number of rows in the \c Spreadsheet.
278 */
279int Spreadsheet::rowCount() const {
280 int result = 0;
281 for (auto* col : children<Column>()) {
282 const int col_rows = col->rowCount();
283 if (col_rows > result)
284 result = col_rows;
285 }
286 return result;
287}
288
289/*!
290 * Removes \c count rows starting from the \c first row index in the spreadsheet.

Callers 4

setLinkingMethod · 0.45
setLinkedSpreadsheetMethod · 0.45
sortColumnsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected