| 1396 | } |
| 1397 | |
| 1398 | std::optional<int> getColumnIndex(std::string const& colName) |
| 1399 | { |
| 1400 | for (auto const& [index, colDescription] : ColumnDescriptions | boost::adaptors::indexed(0)) { |
| 1401 | if (colDescription.name == colName) { |
| 1402 | return toInt(index); |
| 1403 | } |
| 1404 | } |
| 1405 | return std::nullopt; |
| 1406 | } |
| 1407 | } |
| 1408 | |
| 1409 | void SerializerService::serializeStatistics(StatisticsHistoryData const& statistics, std::ostream& stream) |
no test coverage detected