| 76 | }; |
| 77 | |
| 78 | Level LevelHelper::convertFromString(const char* levelStr) { |
| 79 | for (auto& item : stringToLevelMap) { |
| 80 | if (base::utils::Str::cStringCaseEq(levelStr, item.levelString)) { |
| 81 | return item.level; |
| 82 | } |
| 83 | } |
| 84 | return Level::Unknown; |
| 85 | } |
| 86 | |
| 87 | void LevelHelper::forEachLevel(base::type::EnumType* startIndex, const std::function<bool(void)>& fn) { |
| 88 | base::type::EnumType lIndexMax = LevelHelper::kMaxValid; |
nothing calls this directly
no outgoing calls
no test coverage detected