| 85 | } |
| 86 | |
| 87 | void LevelHelper::forEachLevel(base::type::EnumType* startIndex, const std::function<bool(void)>& fn) { |
| 88 | base::type::EnumType lIndexMax = LevelHelper::kMaxValid; |
| 89 | do { |
| 90 | if (fn()) { |
| 91 | break; |
| 92 | } |
| 93 | *startIndex = static_cast<base::type::EnumType>(*startIndex << 1); |
| 94 | } while (*startIndex <= lIndexMax); |
| 95 | } |
| 96 | |
| 97 | // ConfigurationTypeHelper |
| 98 |
nothing calls this directly
no outgoing calls
no test coverage detected