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

Method setCell

src/backend/matrix/Matrix.cpp:495–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

493//! Set the value of the cell (needs explicit instantiation)
494template<typename T>
495void Matrix::setCell(int row, int col, T value) {
496 Q_D(Matrix);
497 if (row < 0 || row >= rowCount())
498 return;
499 if (col < 0 || col >= columnCount())
500 return;
501 exec(new MatrixSetCellValueCmd<T>(d, row, col, value));
502}
503template void Matrix::setCell<double>(int row, int col, double value);
504template void Matrix::setCell<int>(int row, int col, int value);
505template void Matrix::setCell<qint64>(int row, int col, qint64 value);

Callers 6

pasteIntoSelectionMethod · 0.45
generateForMatricesMethod · 0.45
loadMatrixMethod · 0.45
setDataMethod · 0.45
redoMethod · 0.45
undoMethod · 0.45

Calls 2

rowCountFunction · 0.85
columnCountFunction · 0.85

Tested by

no test coverage detected