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