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

Method flagRow

src/csvtable.cpp:900–906  ·  view source on GitHub ↗

* Flags a row: special selection for further actions */

Source from the content-addressed store, hash-verified

898 * Flags a row: special selection for further actions
899 */
900void CsvTable::flagRow(table_index_t rowNr, bool set) {
901 if( set ) {
902 flags.insert(rowNr);
903 } else {
904 flags.erase(rowNr);
905 }
906}
907
908bool CsvTable::isFlagged(table_index_t rowNr) {
909 if( flags.find(rowNr) != flags.end() ) {

Callers 4

apiFlagRowMethod · 0.80
event_callback2Method · 0.80
find_replaceAll_CBMethod · 0.80
flagSelectedRowsCBMethod · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected