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

Method rawRow

src/csvdatastorage.cpp:253–260  ·  view source on GitHub ↗

rawRow(long R) Return a single row as a vector-of-string, no matter how tableData is implemented. The size of the returned vector is determined by the number of actual columns. @return vector */

Source from the content-addressed store, hash-verified

251 @return vector
252 */
253std::vector<std::string> CsvDataStorage::rawRow(table_index_t R) {
254 std::vector<std::string> row;
255 if( R >= 0 && R < rows() ) {
256 return splitString(tableData.at(R));
257 } else {
258 return row;
259 }
260}
261
262
263/**

Callers 1

tableStatisticsMethod · 0.80

Calls 1

atMethod · 0.80

Tested by

no test coverage detected