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

Method get

src/csvdatastorage.cpp:187–191  ·  view source on GitHub ↗

get(long R, long C) Get content of a single cell. You can't be sure that C is lower than columns() as CsvParser::parseCsvStream() may be called with resizeRows == false for probing */

Source from the content-addressed store, hash-verified

185 called with resizeRows == false for probing
186 */
187std::string CsvDataStorage::get(table_index_t R, table_index_t C) {
188 if( C < 0 || R < 0 || R >= rows() || C >= columns() )
189 return "";
190 return getColumn(tableData.at(R), C);
191}
192
193
194

Callers 6

getCellMethod · 0.45
copyBlockMethod · 0.45
openRecentFileMethod · 0.45
quitApplicationMethod · 0.45
pasteMethod · 0.45
getPreferenceMethod · 0.45

Calls 1

atMethod · 0.80

Tested by

no test coverage detected