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 */
| 251 | @return vector |
| 252 | */ |
| 253 | std::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 | /** |