| 148 | } |
| 149 | |
| 150 | void DataTable::insert(const std::vector<std::string>& record) |
| 151 | { |
| 152 | if (record.size() != m_column_order.size()) |
| 153 | { |
| 154 | throw std::runtime_error("Size mismatch."); |
| 155 | } |
| 156 | |
| 157 | m_data.insert(m_data.end(), record.begin(), record.end()); |
| 158 | } |
| 159 | |
| 160 | size_t DataTable::getRecordCount(void) const |
| 161 | { |
no test coverage detected