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

Method push_front

src/csvdatastorage.cpp:282–285  ·  view source on GitHub ↗

push_front(std::vector > row) Adds row to the beginning of the table data */

Source from the content-addressed store, hash-verified

280 Adds row to the beginning of the table data
281 */
282void CsvDataStorage::push_front(std::string row) {
283 // TODO edit length histogram!?
284 tableData.insert(tableData.begin(), row);
285}
286void CsvDataStorage::push_front(std::vector<std::string> row) {
287 // TODO edit length histogram!?
288 tableData.insert(tableData.begin(), mergeString(row));

Callers 2

switchHeaderMethod · 0.80
storeMethod · 0.80

Calls 2

insertMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected