| 168 | } |
| 169 | |
| 170 | size_t DataTable::getColumnIndex(const std::string column) const |
| 171 | { |
| 172 | auto iterator = m_column_order.find(column); |
| 173 | if (iterator != m_column_order.end()) |
| 174 | { |
| 175 | return iterator->second; |
| 176 | } |
| 177 | else |
| 178 | { |
| 179 | throw std::runtime_error("Column " + column + " not found."); |
| 180 | } |
| 181 | } |
| 182 | |
| 183 | size_t DataTable::getVisibleColumnCount(void) const |
| 184 | { |
nothing calls this directly
no outgoing calls
no test coverage detected