MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / getCell

Method getCell

src/csvtable.cpp:104–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102
103
104std::string CsvTable::getCell(table_index_t row, table_index_t col) {
105 if( row >= 0 and row < storage.rows() and col >= 0 and col <= storage.columns() ) {
106 return storage.get(row,col);
107 } else {
108 return "";
109 }
110}
111
112
113void CsvTable::setCell(std::string content, table_index_t row, table_index_t col) {

Callers 10

apiGetStringMethod · 0.80
apiGetIntMethod · 0.80
apiGetFloatMethod · 0.80
draw_cellMethod · 0.80
setValueHideMethod · 0.80
startEditingMethod · 0.80
deleteSelectionMethod · 0.80
copySelectionMethod · 0.80
pasteMethod · 0.80
editSingleCellMethod · 0.80

Calls 3

rowsMethod · 0.80
columnsMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected