| 476 | } |
| 477 | |
| 478 | void Configurations::setGlobally(ConfigurationType configurationType, const std::string& value, |
| 479 | bool includeGlobalLevel) { |
| 480 | if (includeGlobalLevel) { |
| 481 | set(Level::Global, configurationType, value); |
| 482 | } |
| 483 | base::type::EnumType lIndex = LevelHelper::kMinValid; |
| 484 | LevelHelper::forEachLevel(&lIndex, [&](void) -> bool { |
| 485 | set(LevelHelper::castFromInt(lIndex), configurationType, value); |
| 486 | return false; // Do not break lambda function yet as we need to set all levels regardless |
| 487 | }); |
| 488 | } |
| 489 | |
| 490 | void Configurations::unsafeSetGlobally(ConfigurationType configurationType, const std::string& value, |
| 491 | bool includeGlobalLevel) { |
no outgoing calls
no test coverage detected