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

Method updateInternals

src/csvtable.cpp:567–578  ·  view source on GitHub ↗

Updates internal values so that they are fitting to the data stored in storage Should get deprecated! Really? */

Source from the content-addressed store, hash-verified

565 Should get deprecated! Really?
566 */
567void CsvTable::updateInternals() {
568 #ifdef DEBUG
569 dumpStatus("updateInternals");
570 #endif
571 // Header anpassen
572 if( (table_index_t) headerRow->size() != storage.columns() ) {
573 #ifdef DEBUG
574 std::cerr << "Adapting header row length!" << std::endl;
575 #endif
576 headerRow->resize(storage.columns());
577 }
578}
579
580
581

Callers 4

loadFileMethod · 0.80
updateTableMethod · 0.80
undoMethod · 0.80
showPreviewMethod · 0.80

Calls 3

columnsMethod · 0.80
resizeMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected