| 52 | } |
| 53 | |
| 54 | bool CheckAllIfAny(size_t const* columnIndex, bool* ok, std::initializer_list<PresentMonCsv::Header> const& headers) |
| 55 | { |
| 56 | *ok = true; |
| 57 | for (auto const& h : headers) { |
| 58 | if (columnIndex[h] != SIZE_MAX) { |
| 59 | CheckAll(columnIndex, ok, headers); |
| 60 | return *ok; |
| 61 | } |
| 62 | } |
| 63 | return false; |
| 64 | } |
| 65 | |
| 66 | bool CaseInsensitiveCompare(const std::string& str1, const std::string& str2) { |
| 67 | if (str1.size() != str2.size()) { |